Interview Prep/Monitoring & Observability/Tracing, OpenTelemetry and CloudWatch

Prometheus `up` is fine, logs flow and traces exist, but on-call still can't correlate them during an incident

AdvancedTroubleshootingTracing, OpenTelemetry and CloudWatch
Answer

Likely causes → Inconsistent identity across signals: service in metrics, app in logs, service.name in traces; no trace IDs in logs; different environment labels.

Diagnose → Pick one request and try to follow it metric → trace → log; note where the trail breaks.

Fix → Standardise on OTel resource attributes (service.name, deployment.environment, k8s.namespace.name) and map them to the same label names in Prometheus and Loki; log trace_id/span_id in every line; configure Grafana derived fields, exemplars, and Tempo's trace-to-logs/trace-to-metrics links.

Prevent → A shared instrumentation library and a correlation check in production readiness reviews.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Tracing, OpenTelemetry and CloudWatch