grafana/pkg/services/ngalert/api
Owen Diehl 5e48b54549
Alerting/metrics (#33547)
* moves alerting metrics to their own pkg

* adds grafana_alerting_alerts (by state) metric

* alerts_received_{total,invalid}

* embed alertmanager alerting struct in ng metrics & remove duplicated notification metrics (already embed alertmanager notifier metrics)

* use silence metrics from alertmanager lib

* fix - manager has metrics

* updates ngalert tests

* comment lint
Signed-off-by: Owen Diehl <ow.diehl@gmail.com>

* cleaner prom registry code

* removes ngalert global metrics

* new registry use in all tests

* ngalert metrics impl service, hack testinfra code to prevent duplicate metric registrations

* nilmetrics unexported
2021-04-30 12:28:06 -04:00
..
test-data Alerting/Expr: New SSE Request/QueryType, alerting move data source UID (#33282) 2021-04-23 16:52:32 +02:00
tooling Alerting/metrics (#33547) 2021-04-30 12:28:06 -04:00
api_alertmanager.go NGAlert: Fix GET for Alertmanager config (#33379) 2021-04-27 20:48:19 +05:30
api_prometheus.go AlertingAPI: Change list response query prop (#33419) 2021-04-27 22:15:00 +02:00
api_ruler.go [Alerting]: some fixes (#33538) 2021-04-29 19:15:15 +03:00
api_testing.go Alerting: validate condition before updating rulegroup (#33367) 2021-04-28 11:31:51 +03:00
api.go Alerting/metrics (#33547) 2021-04-30 12:28:06 -04:00
fork_ruler.go [Alerting] Automatic request instrumentation (#33444) 2021-04-28 16:59:15 -04:00
forked_am.go Inhouse alerting api (#33129) 2021-04-19 14:26:04 -04:00
forked_prom.go Inhouse alerting api (#33129) 2021-04-19 14:26:04 -04:00
generated_base_api_alertmanager.go Alerting/metrics (#33547) 2021-04-30 12:28:06 -04:00
generated_base_api_prometheus.go Alerting/metrics (#33547) 2021-04-30 12:28:06 -04:00
generated_base_api_ruler.go Alerting/metrics (#33547) 2021-04-30 12:28:06 -04:00
generated_base_api_testing.go Alerting/metrics (#33547) 2021-04-30 12:28:06 -04:00
legacy_api_routes.go [Alerting]: Implement test rule API route (#32837) 2021-04-13 20:58:34 +03:00
legacy_trans_dev.go Inhouse alerting api (#33129) 2021-04-19 14:26:04 -04:00
lotex_am.go Inhouse alerting api (#33129) 2021-04-19 14:26:04 -04:00
lotex_prom.go Inhouse alerting api (#33129) 2021-04-19 14:26:04 -04:00
lotex_ruler.go Inhouse alerting api (#33129) 2021-04-19 14:26:04 -04:00
Makefile Fix/ngalert generation (#33172) 2021-04-20 13:12:32 -04:00
util_test.go [Alerting]: implement backend checking for forking to Lotex ruler (#32208) 2021-03-23 18:08:57 +02:00
util.go Alerting: validate condition before updating rulegroup (#33367) 2021-04-28 11:31:51 +03:00