Agent config will take precedence over local config. Documentation for each agent should reflect that:
Here's some boilerplate documentation for APM Agent configuration (thanks to the Node.js team). Some of the agents use tables instead of unordered lists, so just adapt as necessary to your agent.
[float]
[[central-config]]
==== `centralConfig`
* *Type:* Boolean
* *Default:* `true`
* *Env:* `ELASTIC_APM_CENTRAL_CONFIG`
Enable {kibana-ref}/agent-configuration.html[APM Agent Configuration via Kibana].
If set to `true`, the client will poll the APM Server regularly for new agent configuration.
NOTE: This feature requires APM Server v7.3 or later and that the APM Server is configured with `kibana.enabled: true`.
PRs & docs:
master- [docs][APM] Agent config docs kibana#400847.x- [docs][APM] Agent config docs (#40084) kibana#408187.3- [docs][APM] Agent config docs (#40084) kibana#40817master- [docs] Agent configuration documentation apm-server#23667.x- [docs][7.x] Agent configuration documentation (#2366) apm-server#24307.3- [docs][7.3] Agent configuration documentation (#2366) apm-server#2429Agent config will take precedence over local config. Documentation for each agent should reflect that:
Here's some boilerplate documentation for APM Agent configuration (thanks to the Node.js team). Some of the agents use tables instead of unordered lists, so just adapt as necessary to your agent.
Info:
APM meta: #4
Agents meta-issue: #76
Server issue: elastic/apm-server#2126
Kibana issue:
elastic/kibana#34990elastic/kibana#39555Integration testing issue: elastic/apm-integration-testing#436
Optimization / caching issue: elastic/apm-server#2220
Alert users that: