Why correlation matters
Each telemetry signal tells part of the story. When you correlate signals, you get the complete picture.
How correlation speeds troubleshooting
Without correlation, troubleshooting is slow:
- Alert fires (metrics).
- Manually search logs for related errors.
- Guess which trace might be relevant.
- Hope profiles are from the right time period.
With correlation, troubleshooting is fast:
- Alert fires (metrics).
- Click to see related logs.
- Jump to the exact trace.
- View the code-level profile.
Correlation turns hours of investigation into minutes.
How signals complement each other
Here’s how signals connect in a typical investigation:
By moving between signals, you answer the complete question:
- Metrics: “Error rate increased at 2:15 PM.”
- Logs: “Database connection timeout errors.”
- Traces: “Database calls taking 30 seconds instead of 10ms.”
- Profiles: “Connection pool exhausted, threads waiting on locks.”
Common correlation patterns
Here are some common patterns you might follow when you are troubleshooting using metrics, logs, traces, and profiles.
Metrics to logs
Scenario: Alert fires for high error rate.
Correlation:
- Note the time and affected service from the alert.
- Query logs for that service and time range.
- Look for error messages or stack traces.
What connects them: Shared labels and attributes (service name, environment, instance).
Logs to traces
Scenario: Log shows an error for a specific request.
Correlation:
- Extract the trace ID from the log entry.
- Query Tempo for that trace ID.
- View the full request flow.
What connects them: Trace ID embedded in log entries.
Traces to profiles
Scenario: Trace shows a slow span in a service.
Correlation:
- Note the service and time range from the trace.
- View profiles for that service and time.
- Refer to what code was executing during that span.
What connects them: Service name and timestamp (or span profiles for direct linking).
Metrics to traces (exemplars)
Scenario: Latency metric shows a spike.
Correlation:
- View the latency metric with exemplars enabled.
- Click an exemplar point during the spike.
- Jump directly to the trace that caused it.
What connects them: Exemplars (trace IDs attached to metric samples).
Enable correlation in Grafana Cloud
To enable the correlation features described above, configure:
- Shared labels and attributes across all signals (metrics and logs use labels; traces use attributes).
- Trace context propagation in your application.
- Derived fields for log-to-trace linking.
- Exemplars for metrics-to-trace linking.
- Traces to profiles for span-level linking.
For configuration steps, refer to Configure signal correlation or the individual product documentation:
Next steps
- Observability concepts - Understand cardinality, sampling, and limits
- Configure signal correlation - Set up shared labels and linking
- Navigate between signals - Learn Grafana UI navigation patterns



