~/lightning

How to fill in historical data for new recording rules

Lightningat PromCon Online 2021 · on Monday, 2021-05-03· [web-performance, devops-and-delivery]
links:none on file
slides:none on file

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

  1. 0:00Introduction
  2. 0:30History
  3. 0:46What are recording rules
  4. 1:30The problem with recording rules
  5. 2:43Running the rule
  6. 3:50Looking in the logs
  7. 4:05Results
  8. 4:27Future work
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.