You observe data gaps in your Prometheus graph after increasing the scrape interval. What is the most likely cause?
Trap 1: TSDB block corruption
Block corruption usually leads to missing data in queries, not gaps related to interval changes.
Trap 2: Stale markers not being processed
Stale markers are generated by the server, not by changing the scrape interval.
Trap 3: Too many labels on the metric
High cardinality slows down performance but does not cause gaps based on interval changes.
- A
TSDB block corruption
Why it fails: Block corruption usually leads to missing data in queries, not gaps related to interval changes.
- B
Stale markers not being processed
Why it fails: Stale markers are generated by the server, not by changing the scrape interval.
- C
The scrape_timeout is shorter than the time taken to fetch metrics
If the scrape takes longer than the timeout, the scrape fails, resulting in gaps.
- D
Too many labels on the metric
Why it fails: High cardinality slows down performance but does not cause gaps based on interval changes.