This is documentation for the next version of Grafana documentation. For the latest stable release, go to the latest version.
Tempo data source
Grafana ships with built-in support for Grafana Tempo, a high-volume, minimal-dependency distributed tracing backend from Grafana Labs. Use the Tempo data source to search and visualize traces, correlate traces with logs, metrics, and profiles, and monitor service dependencies with the Service Graph.
Want to learn more about traces and the other telemetry signals? Refer to Understand your data.
Note
Grafana Cloud users: Grafana Cloud includes Grafana Cloud Traces, a pre-configured tracing data source backed by Tempo. You can use Grafana Cloud Traces to query traces without additional setup. Use the Tempo data source when you need to connect to a self-managed Tempo instance or require custom configuration such as trace correlations.
Supported features
The Tempo data source supports the following features:
Tip
New to tracing? Learn what telemetry signals are and how they work together in Understand your data (Grafana Cloud), or read the Introduction to tracing for core concepts like spans, traces, and instrumentation.
Prefer a queryless experience? Grafana Traces Drilldown lets you explore tracing data using RED metrics without writing TraceQL queries.
Get started
The following pages help you set up and use the Tempo data source:
- Configure the Tempo data source: Connect Grafana to Tempo, set up authentication, and configure trace correlations.
- Query tracing data: Search for traces, use the TraceQL editor, and upload JSON trace files.
- Grafana Traces Drilldown: Explore tracing data visually using RED metrics, without writing queries.
- Service Graph and Service Graph view: Visualize service dependencies and monitor request rate, error rate, and duration. Requires a linked Prometheus data source with service graph metrics.
Connect traces to other signals
After you’ve connected Grafana to Tempo, you can configure correlations between traces and other signals:
- Trace to logs: Navigate from spans to related logs in Loki, including bidirectional linking.
- Trace to metrics: Link spans to metrics queries in Prometheus or other metrics data sources.
- Trace to profiles: Link spans to profiling data in Grafana Pyroscope with embedded flame graphs.
- Trace correlations: Create custom correlation links to any data source or external URL.
Related resources
- Introduction to tracing
- Best practices for traces: Guidance on planning spans, attributes, and trace structure for effective tracing data.
- TraceQL query examples
- TraceQL query language reference If you encounter issues with the Tempo data source, refer to Troubleshoot Tempo data source issues.
- Configure the Tempo data source
Guide for configuring Tempo in Grafana - Query tracing data
Guide for using the Tempo data source's query editor - Service Graph and Service Graph view
Use the Service Graph and Service Graph view to visualize service dependencies and monitor RED metrics - Span filters
Use span filters to filter spans in the timeline viewer - Troubleshoot Tempo data source issues
Troubleshoot common problems with the Tempo data source in Grafana


