Try it free

Adaptive Traffic Management concepts

  • Latest Dynatrace
  • Explanation
  • 2-min read

This page describes different terms related to Adaptive Traffic Management.

Adaptive Traffic Management (ATM)

ATM for Dynatrace Platform Subscription ATM for Dynatrace classic license

Adaptive Traffic Management (ATM) is the Dynatrace intelligent trace sampling mechanism for Full-Stack Monitoring.

OneAgent automatically manages the volume of ingested trace data via Adaptive Traffic Management. It continuously adjusts the adaptive trace sampling rate to keep the ingested trace data volume roughly within your Full-Stack included trace volume or your total licensed Full-Stack trace volume (only for the Dynatrace Platform Subscription). This is achieved by monitoring the ingested trace data volume from full-stack monitored hosts and applications. If the ingested trace data volume exceeds the allocated trace volume, Adaptive Traffic Management lowers the adaptive trace sampling rate on OneAgent, reducing the trace capture rate and the ingested trace data volume. OneAgent uses head-based sampling, where the sampling decision for each trace is made when a trace is started.

Adaptive trace sampling rate

ATM for Dynatrace Platform Subscription ATM for Dynatrace classic license

Adaptive trace sampling rate is the rate at which Dynatrace OneAgents or other participating tracing agents start distributed traces, where they generally sample traces adaptively.

Adaptive Traffic Management instructs agents to initiate traces at a specific rate, for example, 1,000 per minute. This rate is continuously adjusted to keep the ingested trace data volume below a defined limit. Agents reporting a 100% trace capture rate may start fewer traces than this rate, depending on the number of application transactions. Agents reporting a trace capture rate below 100% are sampling at that rate. Adaptive Traffic Management uses a range between 50 and 50,000 captured traces per minute to meet the defined limit.

With the Dynatrace Platform Subscription, you can adjust the adaptive trace sampling rate at the scope level, allowing you to better control the usage of the Full-Stack Monitoring included trace volume. Because sampling is head-based, a scope-level adjustment affects the traces initiated within that scope. For details, see Where sampling rules take effect.

Extended trace ingest

ATM for Dynatrace Platform Subscription

Extended trace ingest is a billed option for Full-Stack Monitoring. It allows you to extend your ingested trace volume beyond the trace volume already included in Full-Stack Monitoring.

For details, see Extended trace ingest for Full-Stack Monitoring.

Full-Stack included trace volume

ATM for Dynatrace Platform Subscription ATM for Dynatrace classic license

Full-Stack included trace volume is the amount of trace data volume included in Full-Stack Monitoring.

Adaptive Traffic Management ensures that full-stack monitored hosts and applications stay within this licensed trace volume.

With the Dynatrace Platform Subscription, you can extend trace ingest beyond the Full-Stack included trace volume. In this case, Adaptive Traffic Management ensures that full-stack monitored hosts and applications stay within the total licensed Full-Stack trace volume.

Total licensed Full-Stack trace volume

ATM for Dynatrace Platform Subscription

Total licensed Full-Stack trace volume is the sum of the trace volume included in Full-Stack Monitoring (called Full-Stack included trace volume) and trace volume added via extended trace ingest.

Adaptive Traffic Management ensures that full-stack monitored hosts and applications stay within the total licensed Full-Stack trace volume.

Usable adaptive trace volume

ATM for Dynatrace Platform Subscription

Usable adaptive trace volume is the portion of your total licensed Full-Stack trace volume that you allocate to Adaptive Traffic Management.

You can control how much of this overall volume is distributed by Adaptive Traffic Management, which allows you to reduce the usable adaptive trace volume. For example, you can increase your trace ingest during important business events for better coverage and then decrease it again after the event is over. Configuring the usable adaptive trace volume is an automated way to manage your Full-Stack extended trace ingest cost.

With this feature, you can also implicitly allocate a part of your total licensed Full-Stack trace volume to fixed-rate sampled spans from OpenTelemetry or OneAgent. You might ingest OpenTelemetry trace data at a fixed rate from full-stack monitored hosts and applications, for example, this might make up 20% of your total licensed Full-Stack trace volume. By reducing the usable adaptive trace volume to 80%, you're effectively ensuring that this OpenTelemetry trace volume does not incur trace ingestion charges, as it would be covered by the Full-Stack included trace volume. The trade-off is that other applications are then trace-sampled at a lower rate, which reduces their trace capture rate.

Fixed-rate sampling Early Access

ATM for Dynatrace Platform Subscription

Fixed-rate sampling is a trace sampling mechanism for full-stack monitored hosts and applications that captures traces at a configured capture rate for a defined scope, regardless of the current adaptive trace sampling rate or ingested trace data volume. Rely on fixed-rate sampling when you need a guaranteed or predictable capture rate for regulatory, auditing, fraud detection, business, or supportability reasons. The supported scopes are an environment, host group, Kubernetes cluster, Kubernetes namespace, Kubernetes deployment, and process group.

Fixed-rate sampling applies only to traces initiated within the configured scope and that use head-based sampling. OneAgent and OpenTelemetry agents that continue a trace started elsewhere continue to follow the sampling decision made at the trace origin.

For a given scope, you set a sampling mechanism: fixed-rate sampling or adaptive sampling. The trace.capture.reasons span attribute is set to fixed for spans captured via fixed-rate sampling and to atm for spans captured via adaptive sampling. Only spans with the atm value are counted against the usable adaptive trace volume. Spans with any other value, including fixed, are still counted against the Full-Stack included trace volume.

This means that the usable adaptive trace volume distributed by Adaptive Traffic Management isn't reduced by fixed-rate sampling, so no OneAgent lowers its sampling rate as a consequence of incoming fixed-rate sampled trace data. The total ingested trace volume can therefore exceed the Full-Stack included trace volume, and the fixed-rate sampled portion is billed as Traces – Ingest & Process with the fullstack-fixed-rate licensing type. You can reduce the usable adaptive trace volume to limit this billing impact.

For configuration details, see Configure fixed-rate sampling.

Related tags
Application Observability