Configure head-based sampling

edit

There are three ways to adjust the head-based sampling rate of your APM agents:

Dynamic configuration

edit

The transaction sample rate can be changed dynamically (no redeployment necessary) on a per-service and per-environment basis with APM agent Configuration in Kibana.

Kibana API configuration

edit

APM agent configuration exposes an API that can be used to programmatically change your agents' sampling rate. An example is provided in the Agent configuration API reference.

APM agent configuration

edit

Each agent provides a configuration value used to set the transaction sample rate. See the relevant agent’s documentation for more details: