grafana/pkg/services/ngalert/state
gotjosh e877174501
Alerting: Expose metrics for Alertmanager Alerts - grafana_alerting_alertmanager_alerts (#75802)
* Alerting: Expose metrics for Alertmanager Alerts

In Grafana, the alert evaluation and alert delivery are combined. We're always used a metric named `grafana_alerting_alerts` to get a sense of what are the alerts that are currently firing (these come from the evaluation side) and opted to not map the alertmanager alerts metric directly.

I think it's important that we make a disction between alerts that happen at evaluation vs alerts that are received for delivery by the internal Alertmanager as we have options to skip the delivery of these alerts to the internal alertmanager altogether.
2023-10-02 16:36:23 +01:00
..
historian Alerting: Add dashboardUID and panelID query parameters for loki state history (#72119) 2023-07-24 23:46:46 -05:00
template Alerting: Migrate old alerting templates to Go templates (#62911) 2023-10-02 11:25:33 -04:00
cache_bench_test.go Alerting: Improve performance of cache.getOrCreate (#63909) 2023-06-15 09:37:47 -04:00
cache_test.go Chore: Replace go-multierror with errors package (#66432) 2023-06-19 12:29:45 +03:00
cache.go Alerting: Expose metrics for Alertmanager Alerts - grafana_alerting_alertmanager_alerts (#75802) 2023-10-02 16:36:23 +01:00
compat_test.go Alerting: Use only token for images in notifications (#70196) 2023-06-21 20:53:45 -03:00
compat.go Alerting: Use only token for images in notifications (#70196) 2023-06-21 20:53:45 -03:00
image_mock.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
manager_bench_test.go Alerting: Pass loggers into SchedulerCfg and ManagerCfg. (#75158) 2023-09-20 15:07:02 +02:00
manager_private_test.go Alerting: Don't use a separate collection system for metrics (#75296) 2023-09-25 10:27:30 +01:00
manager_test.go Alerting: Don't use a separate collection system for metrics (#75296) 2023-09-25 10:27:30 +01:00
manager.go Alerting: Expose metrics for Alertmanager Alerts - grafana_alerting_alertmanager_alerts (#75802) 2023-10-02 16:36:23 +01:00
persist.go Alerting: Remove and revert flag alertingBigTransactions (#65976) 2023-04-06 18:06:25 +02:00
state_test.go Alerting: Use URLs in image annotations (#66804) 2023-04-26 13:06:18 -03:00
state.go SSE: Use errutil to show better error messages in prod (#71658) 2023-07-21 06:38:29 -04:00
testing.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00