Skip to content

[docs] APM Agent configuration documentation #86

Closed
@bmorelli25

Description

@bmorelli25

PRs & docs:


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`.

Info:

APM meta: #4
Agents meta-issue: #76
Server issue: elastic/apm-server#2126
Kibana issue: elastic/kibana#34990 elastic/kibana#39555
Integration testing issue: elastic/apm-integration-testing#436
Optimization / caching issue: elastic/apm-server#2220

Alert users that:

  • it may take some time for config changes to take effect.
  • Different server versions may cause problems
  • Add documentation that the user should make sure to define sane defaults in case the APM Server is offline (see Agent remote configuration #76 (comment))

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions