Interview Prep/Monitoring & Observability/Tracing and OpenTelemetry

Logs, metrics and traces each live in different tools. How do you make correlation work in Grafana?

IntermediateScenarioTracing and OpenTelemetry
Answer

Situation read → Engineers context-switch between tools and lose time.

What I'd do →

  1. Use consistent resource attributes: service.name, service.namespace, deployment.environment, k8s.pod.name.
  2. Tempo data source: configure trace to logs (Loki) and trace to metrics (Prometheus) with tag mappings.
  3. Loki data source: derived fields to open trace IDs in Tempo.
  4. Prometheus: exemplars linking to Tempo.
  5. Test the full loop: metric spike → exemplar → trace → logs.

Why → Correlation works only with consistent labels and configured links.

Interview tip → The hard part is naming consistency, not the tooling.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Tracing and OpenTelemetry