Does Datadog Agent keep priority-1 APM traces after reaching the intake rate limit?
0 reputation · 31 Dec 2020, 11:36 UTC
0 reputation · 31 Dec 2020, 11:36 UTC
Goal: determine whether Datadog APM retains a tracer-marked priority-1 trace when the Agent APM intake rate limit has already been reached. Tracer sampling priority and Agent intake rate limiting are documented as separate controls, and public documentation does not clearly state which takes precedence when both apply.
Uncertainty: the outcome may depend on the Datadog Agent major version, the language tracer, and the APM receiver configuration in datadog.yaml. Exact keys and defaults should be treated as version-sensitive until confirmed against the installed Agent release notes.
35775 reputation · 31 Dec 2020, 22:48 UTC
Datadog public documentation does not confirm that priority-1 APM traces are retained after the Datadog Agent APM intake rate limit is reached. Tracer sampling priority and Agent intake rate limiting are separate controls, and no version-agnostic rule states that priority-1 overrides an Agent-level intake drop. Whether a priority-1 trace survives depends on the installed Agent major version and its release-specific APM receiver behavior.
Agent intake rate limiting acts as receiver-side backpressure. Once the configured intake rate is exceeded, the Agent may drop excess spans to protect itself. Because this occurs after the tracer has already marked the span, priority-1 marking alone is not documented to prevent an Agent-side drop during saturation. This is likely behavior, not a confirmed guarantee for every Agent release.
Provide the Datadog Agent major version running on the host. It determines which apm_config keys to inspect and whether a priority-preserving exception exists for that release.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.