Menu
This is documentation for the next version of Grafana Tempo documentation. For the latest stable release, go to the latest version.
Open source
Span metrics
Span metrics are generated from traces and can be used to create service graphs. You can create span metrics in Tempo’s metrics-generator, Grafana Alloy, or the OpenTelemetry Collector.
If you sample traces before they reach Tempo, choose where to generate those metrics first. Refer to Choose where to generate metrics from traces.
The pages in this section cover Tempo and Alloy settings. For OpenTelemetry Collector settings, including the pipeline diagram, refer to Generate metrics from spans.
- Use the span metrics processor
The span metrics processor generates metrics from ingested tracing data, including request, error, and duration (RED) metrics. - Use Alloy to generate span metrics from spans
Span metrics allow you to generate metrics from your tracing data automatically.


