APM Metrics

Trace metrics

Tracing application metrics are collected after enabling trace collection and instrumenting your application. These metrics are available for dashboards and monitors. These metrics capture request counts, error counts, and latency measures. They are calculated based on 100% of the application’s traffic, regardless of any trace ingestion sampling configuration.

By default, these metrics are calculated in the Datadog Agent based on the traces sent from an instrumented application to the Agent.

Ingested span and traces are kept for 15 minutes. Indexed spans and traces that retention filters keep are stored in Datadog for 15 days. But if you generate custom metrics from ingested data, the metrics are retained for 15 months.

Runtime metrics

Enable runtime metrics collection in supported tracing libraries to gain insights into an application’s performance. These metrics are sent to the Datadog Agent over the configured DogStatsD port.

Next steps


Further Reading