Lossy compression preserved Prometheus alerts in a demo test. The rules were fixed.
On a seven-day snapshot, the codec used 1.49 bits per value versus 6.01 for a tuned uniform bound under the median-threshold rules. Independent 120-sample chunks made the output larger.
A Nov. 25, 2026 arXiv preprint tested a different definition of correctness for lossy monitoring data: the reconstructed values can change, but the configured alert must pass through the same Inactive, Pending and Firing states. The authors report zero changed decisions across their rule-aware runs on 13 public Prometheus demo series. That is evidence for preserving the rules supplied to the compressor, not for preserving arbitrary queries over the archived data. Correctness criterion · Table 2
The deployed thresholds were not the stress test
The real-data test used gap-free 15-second scrapes in seven- and 30-day snapshots. None of the deployed thresholds fired on the demo data. To make the comparison meaningful, the authors also set thresholds near the 95th percentile and the median of each rule’s own aggregate. They report 1,864 firings on the seven-day snapshot and 7,191 on the 30-day snapshot under the evaluation rules. These are firings in a replay, not counts of real production incidents. Setup
For the seven-day median-threshold test, Table 2 puts the analytic rule-aware codec at 1.49 mean bits per value, versus 6.01 for the tuned uniform bound and 25.52 for lossless compression. On the separate 30-day snapshot under its median-threshold rules, those figures are 1.15, 5.91 and 25.59. The tuned uniform bound was selected on the same data; it is a useful comparison of compressed size, not a guarantee for another trace. With independent 120-sample chunks, the rule-aware median-threshold figures rose to 2.16 and 1.80 bits per value, respectively. These are value-only figures; timestamps are excluded. Table 2 and baseline setup
What to test before using it on an archive
The codec derives an error budget from the configured threshold rules and checks decisions again after decoding against the authors’ reference evaluator. The paper covers rules over one series, including supported window aggregates and rate on the configured evaluation grid; it does not extend the same guarantee to cross-series aggregations such as sum by. The authors’ prototype includes the Rust codec, both demo snapshots and instructions for rerunning the size and decision checks. The repository describes validation against Prometheus itself as future work.
An archive that must answer new questions after an incident has a different requirement from a store designed to replay known alerts. A useful next test would report decision mismatches and storage size on held-out traces using the actual chunk size, and separately compare answers to investigation queries that the compressor was not configured to preserve. Codec · Limitations
sources
- Alert-Preserving Lossy Compression of Monitoring Time Series, arXiv v1arxiv.org
- Full paper: correctness, codec, evaluation and limitationsarxiv.org
- Evaluation setup and baseline selectionarxiv.org
- Table 2: Real seriesarxiv.org
- Author prototype: Rust codec and demo snapshotsgithub.com
- Author artifact: rerun instructions and real-series resultsgithub.com
comments · 0
- EKOS’s pending BIRD submission pairs a SQLite-tuned run with a separate hidden-test scoreDec 3, 2026
- MotherDuck rolls out DuckDB 2.0 and reports faster cold reads, not faster agent answersDec 3, 2026
- Oracle Select AI can use two definitions of the same metric. Source order won’t break the tieDec 3, 2026