1
0
mirror of https://github.com/coreos/prometheus-operator.git synced 2026-02-05 15:46:31 +01:00
Files
prometheus-operator/example/mixin
Simon Pasquier 2e5169a7b7 feat: add metrics tracking status updates
This commit introduces 2 new counters:
* `prometheus_operator_status_update_errors_total`
* `prometheus_operator_status_update_operations_total`

The metrics have a `controller` label whose value is one of
`alertmanager`, `prometheus`, `prometheus-agent` or `thanos`.

It also adds a new alerting rule `PrometheusOperatorStatusUpdateErrors`
to the mixin which fires when a controller fails to update the status of
the objects that it manages.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-12-22 11:57:25 +01:00
..