How to fill in historical data for new recording rules
summary
A new Prometheus feature now generates historical time series blocks for newly created recording rules using promtool tsdb create-blocks-from-rules, letting operators backfill a specified start/end window. The tool evaluates the recording rule against the API and writes blocks (example: a one‑hour window yields 70 samples at a 60s interval). Blocks must be moved into Prometheus’s data directory so compaction merges them and the recording rule shows past values. Future work adds block validation and automated install.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 0:30History
- 0:46What are recording rules
- 1:30The problem with recording rules
- 2:43Running the rule
- 3:50Looking in the logs
- 4:05Results
- 4:27Future work
related talks
32mPrometheus Deep Dive
08mPrometheus in 5 minutes
04mLightning Talk: Prometheus Rules management and validation
40mThe Prometheus monitoring system
23mAutomatically Making Dashboards Load 100X Faster
35mPrometheus Sparse High-Resolution Histograms in Action
24mFrom Monitoring to Observability: 10 Things to Do with Prometheus in 2020
16mKeynote: Prometheus 2.0 – The Next Scale of Cloud Native Monitoring
