prometheus/web
Julius Volz 69ed0a5794 Add health & text filtering on the /rules page
Addresses part of https://github.com/prometheus/prometheus/issues/16515

For now, I'm adding very similar filtering to the /rules page as we have on
the /alerts page, with the difference being:

* The state filter filters by rule health (ok/warn/unknown) instead of
  alert state (firing/pending/inactive)
* We don't collect & show detailed stats on the different state counts as
  we do on the /alerts page

There is a lot of copied / very similar code between those two pages (and
also some others) around filtering and pagination, so maybe there is an
opportunity for more code sharing in the future here.

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2025-05-16 17:50:46 +02:00
..
api/v1 Add primitive support for ingesting OTLP delta metrics as-is (#16360) 2025-04-23 09:58:02 -03:00
ui Add health & text filtering on the /rules page 2025-05-16 17:50:46 +02:00
federate_test.go model/textparse: Change parser interface Metric(...) string to Labels(...) (#16012) 2025-02-12 15:47:56 +00:00
federate.go storage: Implement limit in mergeGenericQuerier 2024-11-07 09:08:23 -08:00
web_test.go Fix linting issues found by golangci-lint v2.0.2 (#16368) 2025-05-03 19:05:13 +02:00
web.go Fix linting issues found by golangci-lint v2.0.2 (#16368) 2025-05-03 19:05:13 +02:00