Interview Prep/Monitoring & Observability/Grafana dashboards and data sources

Grafana Tempo data source `Trace not found` when clicking a trace ID from logs

IntermediateTroubleshootingGrafana dashboards and data sources
Answer

Likely causes → The derived-field regex captures the wrong string, the trace wasn't sampled, or it is outside the search window.

Diagnose → Copy the trace ID and search Tempo directly; check the Loki derived field regex (e.g. trace_id=(\w+)).

Fix → Fix the regex and target data source UID; widen Tempo's search time shift settings.

Prevent → Log trace IDs in a consistent field (trace_id) across services.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Grafana dashboards and data sources