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.
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.
Enable runtime metrics collection in supported tracing libraries to gain insights into an application’s performance.
Additional helpful documentation, links, and articles: