Home / Companies / ScyllaDB / Blog / Post Details
Content Deep Dive

Prometheus Backfilling: Recording Rules and Alerts

Blog post from ScyllaDB

Post Details
Company
Date Published
Author
Amnon Heiman
Word Count
866
Company Posts That Month
8
Language
English
Hacker News Points
-
Post removed?
No
Summary

Prometheus users often face challenges with recording rules and alerts, as they are generated in real-time and do not apply to historical data, creating difficulties in testing their impact. To address this, a utility called promutil.py has been developed to generate OpenMetrics data, which can be used to backfill Prometheus starting from release 2.25. This allows users to run experiments on separate servers with historical data, helping them assess the effect of new alert rules without affecting production systems. The process involves using promutil.py to produce OpenMetrics files, which are then used to create Prometheus blocks via promtool, enabling the inclusion of historical data in recording rules and alerts. Although promutil.py does not generate historical alerts, it can create corresponding metrics for alert testing and is also useful for ad hoc alert management, offering a valuable tool for system diagnostics and monitoring enhancements.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.