Configuration file of the Universal Profiling Agent
editConfiguration file of the Universal Profiling Agent
editThe Universal Profiling Agent can be configured using a configuration file. Specify the path to the configuration file using the CLI argument -config
.
The default path for the configuration file is /etc/Elastic/universal-profiling/pf-host-agent.conf
.
The expected format of the configuration file is a plaintext file, where each line holds one option.
Example:
project-id: 73 secret-token: abc123 collection-agent: example.com:443
Command line arguments to the Universal Profiling Agent take precedence over environment variables, and environment variables take precedence over the configuration file.
Config file option | Type | Example | Description |
---|---|---|---|
|
|
|
Run the Universal Profiling Agent in verbose mode. |
|
|
|
Disable the kernel version check. See Override kernel version check for more details. |
|
|
|
Set specific tags. See Tag data for querying for more details. |
|
|
|
Splits profiling data into logical groups that you control. You can assign any non-zero, unsigned integer ⇐ 4095. |
|
|
|
Set the secret token for communicating with the Universal Profiling Collector to |
|
|
|
Set the destination for reporting profiling information to |
|
|
|
Set the probabilistic interval to |
|
|
|
Set the probabilistic threshold to |