grafana/pkg/services/ngalert/metrics
Santiago 9e78faa7ba
Alerting: Add metrics to the remote Alertmanager struct (#79835)
* Alerting: Add metrics to the remote Alertmanager struct

* rephrase http_requests_failed description

* make linter happy

* remove unnecessary metrics

* extract timed client to separate package

* use histogram collector from dskit

* remove weaveworks dependency

* capture metrics for all requests to the remote Alertmanager (both clients)

* use the timed client in the MimirAuthRoundTripper

* HTTPRequestsDuration -> HTTPRequestDuration, clean up mimir client factory function

* refactor

* less git diff

* gauge for last readiness check in seconds

* initialize LastReadinesCheck to 0, tweak metric names and descriptions

* add counters for sync attempts/errors

* last config sync and last state sync timestamps (gauges)

* change latency metric name

* metric for remote Alertmanager mode

* code review comments

* move label constants to metrics package
2024-01-10 11:18:24 +01:00
..
alertmanager.go Alerting: Add matchers metrics to Alertmanager (#69855) 2023-06-15 09:18:01 +01:00
api.go Alerting: Refactor metrics/ngalert.go into seperate files (#62362) 2023-01-27 18:49:49 +00:00
historian.go Swap weaveworks/common utilities for equivalents in grafana/dskit (#80051) 2024-01-05 10:08:38 -06:00
multi_org_alertmanager.go Alerting: Expose metrics for Alertmanager Alerts - grafana_alerting_alertmanager_alerts (#75802) 2023-10-02 16:36:23 +01:00
ngalert.go Alerting: Add metrics to the remote Alertmanager struct (#79835) 2024-01-10 11:18:24 +01:00
remote_alertmanager.go Alerting: Add metrics to the remote Alertmanager struct (#79835) 2024-01-10 11:18:24 +01:00
scheduler.go Alerting: Add new metrics and tracings to state manager and scheduler (#71398) 2023-08-16 09:04:18 +02:00
state.go Alerting: Don't use a separate collection system for metrics (#75296) 2023-09-25 10:27:30 +01:00
util.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00