docs/sources/datasources/pyroscope/configure-traces-to-profiles.md
Trace to profiles lets you navigate from a trace span directly to the profiling data for that span. You configure the integration in the Tempo data source, which connects your tracing data in Tempo with your profiling data in Pyroscope.
{{< admonition type="note" >}} Your application must be instrumented for profiles and traces. For more information, refer to Link traces to profiles. {{< /admonition >}}
{{< docs/shared source="grafana" lookup="datasources/tempo-traces-to-profiles.md" version="<GRAFANA VERSION>" >}}
After you configure the Tempo data source and instrument your application, verify that the integration works.
If the span attribute pyroscope.profile.id isn't present on the span, the OpenTelemetry bridge package isn't configured correctly. Refer to Link tracing and profiling with span profiles for per-language setup instructions.
Use the following checklist to diagnose common issues with the Trace to profiles integration.
pyroscope.profile.id attribute exists on the span in Tempo. If it's missing, the bridge package isn't tagging spans correctly.span_name label exists on the profiling data in Pyroscope. If it's missing, the bridge package isn't labeling profiling samples correctly.Tags you configure in the Tempo data source must be present in the span's attributes or resources. If a tag has dots in its name, for example, service.name, and the Pyroscope data source doesn't allow dots in labels, remap it to a name without dots, for example, service_name.