prometheus/model
Giedrius Statkevičius 92218ecb9b promtool: add --ignore-unknown-fields
Add --ignore-unknown-fields that ignores unknown fields in rule group
files. There are lots of tools in the ecosystem that "like" to extend
the rule group file structure but they are currently unreadable by
promtool if there's anything extra. The purpose of this flag is so that
we could use the "vanilla" promtool instead of rolling our own.

Some examples of tools/code:

https://github.com/grafana/mimir/blob/main/pkg/mimirtool/rules/rwrulefmt/rulefmt.go
8898eb3cc5/pkg/rules/rules.go (L18-L25)

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
2025-01-15 11:34:28 +02:00
..
exemplar update links to openmetrics to reference the v1.0.0 release 2024-12-13 21:32:27 +00:00
histogram fix TestCuttingNewHeadChunks/really_large_histograms on 32-bit 2024-12-16 10:45:01 -05:00
labels [ENHANCEMENT] TSDB: Improve calculation of space used by labels (#13880) 2024-12-16 09:42:52 +00:00
metadata Fix: metadata API using wrong field names (#13633) 2024-02-26 09:53:39 +00:00
relabel Implement json encoder/decoder for regexp (#15383) 2024-11-24 18:46:24 +00:00
rulefmt promtool: add --ignore-unknown-fields 2025-01-15 11:34:28 +02:00
textparse perf(nhcbparse): unroll recursion (#15776) 2025-01-02 15:51:52 +01:00
timestamp Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
value Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00