How do you make logs, metrics and traces correlate in Grafana?

IntermediateProductionLog Pipelines
Answer
  • Same resource labels everywhere: service, namespace, cluster, env.
  • trace_id in every log line; Loki derived fields turn it into a link to Tempo.
  • Tempo "trace to logs" and "trace to metrics" configured with the shared labels.
  • Exemplars on latency histograms linking to traces.

Using the OpenTelemetry SDK for all signals gives consistent service.name and resource attributes automatically.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Log Pipelines