Configure Datadog APM trace retention filters and ingestion control

domain: docs.datadoghq.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Review the default head-based sampling rates applied by the Datadog Agent and adjust them per service using the ingestion configuration
  2. Create custom retention filters in the Datadog APM settings to keep specific traces beyond the default retention period based on tags or attributes
  3. Use the Datadog remote configuration feature to update ingestion sampling rates without redeploying the Agent
  4. Monitor the ingested and indexed span volumes in the APM Ingestion Control page to stay within budget
  5. Enable error and rare trace samplers to ensure low-traffic or erroring traces are retained even under aggressive sampling

Known gotchas

Related routes

Configure Datadog APM trace ingestion sampling rules and retention filters to control cost without losing critical traces
docs.datadoghq.com · 5 steps · unrated
Use Datadog's ingestion_reason tag to understand why APM traces were sampled and retained
docs.datadoghq.com · 6 steps · unrated
Configure Datadog APM distributed tracing with trace context propagation across services using multiple propagation formats
docs.datadoghq.com · 5 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans