Metrics Gaps in Dashboards
Diagnose and resolve missing data points in Prometheus, CloudWatch, and Grafana dashboards.
Overview
Overview
A gap in a dashboard graph is not the same thing as a zero value. Treating them as equivalent is a common diagnostic mistake that wastes hours of on-call time, so the first step is knowing what actually causes a gap.
A gap in a Grafana panel has five usual sources. In Prometheus it is a scrape failure (an error, a timeout or a non-200 response), a network partition (packet loss that makes it intermittent), clock skew (out-of-order samples get dropped) or a label change (a new uid or instance). In CloudWatch it is an agent that stopped sending. For the four Prometheus causes, start with the up metric and the /targets page.
Key concepts
- Staleness Marker
- Scrape Failure
- absent()
- Clock Skew
- FILL()
Interview questions
- How does a Prometheus staleness marker differ from a zero value, and how do you tell them apart in a dashboard?
- How do you alert when a critical metric series disappears entirely from Prometheus?
- What causes intermittent metrics gaps in a cross-AZ Prometheus setup?
Sign up free to read the full topic
More Troubleshooting topics
- IAM Permission Denied Errors
- JVM Garbage Collection Pauses
- Kubernetes Service Not Reachable
- Lambda Cold Start Latency
- Log Volume Explosion and Cost Runaway
- Memory Leak Diagnosis
- Missing Traces in Distributed Tracing
- Multi-Region High Latency
- NAT Gateway Bandwidth and Throttling
- Network Bandwidth Saturation
- OOMKilled Pod Diagnosis
- Packet Loss and Network Degradation
Start free on Cariara · Coding problems · System design studio