Configuration
Configuration services and options for the agent service.
The agent is configured via a JSON configuration file, which is loaded at startup using the --config=<path>
flag.
Inside the config file, you may use ${ENV_NAME}
to reference environment variables. The agent will replace these references with the actual environment variable values at runtime. See example below.
$schema
As the agent is in active development, the configuration spec might change frequently and this document could be outdated.
The generated and up to date json schema can be found on GitHub.
Configuration Options
A unique node id. This is used for identifying the node in the cluster.
Generates a unique id if not provided.
Enable pprof endpoints for profiling.
Enable logging to an external sink.
Enable tracing to an external sink.
Enable sending metrics to an external sink.
The region this agent is running in.
Port to listen on.
Send heartbeat to a URL.
Run and coordinate multiple agent nodes in a cluster.
Example
Was this page helpful?