Skip to content

Commit

Permalink
docs: document tetragon daemon --tracing-policy and --tracing-policy-dir
Browse files Browse the repository at this point in the history
Signed-off-by: Djalal Harouni <[email protected]>
  • Loading branch information
tixxdz committed Jul 24, 2023
1 parent e7e95fa commit 19f9e15
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/content/en/docs/reference/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,3 +187,11 @@ it will try to detect if Tetragon daemon is running on the same host and use its
{{< caution >}}
Ensure that you have enough privileges to open the gRPC unix socket since it is restricted to privileged users only.
{{< /caution >}}
## Configure Tracing Policies location
Tetragon daemon automatically loads [Tracing policies](/docs/concepts/tracing-policy) from the default `/etc/tetragon/tetragon.tp.d/` directory. Tracing policies can be organized in directories such: `/etc/tetragon/tetragon.tp.d/file-access`, `/etc/tetragon/tetragon.tp.d/network-access`, etc.
The `--tracing-policy-dir` controlling setting can be used to change the default directory from where [Tracing policies](/docs/concepts/tracing-policy) are loaded.
The `--tracing-policy` controlling setting can be used to specify the path of one tracing policy to load.

0 comments on commit 19f9e15

Please sign in to comment.