grafana/pkg/services
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
..
accesscontrol Access control: Allow empty scope requirement lists (#33518) 2021-04-29 13:22:13 +02:00
alerting TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00
annotations API: Return 400 on invalid Annotation requests (#32429) 2021-03-29 15:47:16 +02:00
auth Auth: support JWT Authentication (#29995) 2021-03-31 08:40:44 -07:00
cleanup Bugfix 29848: Remove annotation_tag entries as part of annotations cleanup (#29534) 2020-12-08 19:41:35 +01:00
contexthandler Chore: Improve request distributed tracing middleware (#33033) 2021-04-20 15:22:22 +02:00
dashboards [Alerting]: Use title instead of slug for retrieving the namespace (#32957) 2021-04-14 12:02:50 +03:00
datasourceproxy Data Source Proxy: Migrate proxy to its own service and make more extensible (#31927) 2021-03-17 13:10:40 -04:00
datasources API: Add by UID routes for data sources (#29884) 2021-01-13 13:16:27 -05:00
guardian Permissions: Fix inherited folder permissions can prevent new permissions being added to a dashboard (#33329) 2021-04-28 14:42:18 +02:00
hooks API: replace SendLoginLogCommand with LoginHook (#28777) 2020-11-06 10:01:13 +01:00
ldap IPv6: Support host address configured with enclosing square brackets (#31226) 2021-02-15 17:55:41 +01:00
librarypanels LibraryPanels: Adds panel type filter and sorting (#33425) 2021-04-28 09:18:13 +02:00
licensing CDN: Adds support for serving assets over a CDN (#30691) 2021-02-01 10:13:09 +01:00
live live: better comment, code style, show disconnect reason (#33430) 2021-04-27 17:01:12 +02:00
login Login: Replace command dispatch by explicit call (#32088) 2021-03-18 17:16:56 +01:00
multildap Chore: Enable errorlint linter (#29227) 2020-11-19 14:47:17 +01:00
ngalert Alerting/metrics (#33547) 2021-04-30 12:28:06 -04:00
notifications Instrumentation: Add success rate metrics for email notifications (#33359) 2021-04-27 11:15:07 +02:00
oauthtoken Chore: Configure go-ruleguard via golangci-lint (#28419) 2020-12-11 11:45:17 +01:00
provisioning Slack: Use chat.postMessage API by default (#32511) 2021-04-22 16:00:21 +02:00
quota Backend: Remove more globals (#29644) 2020-12-15 19:09:04 +01:00
rendering PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
schemaloader new endpoint to post/get trimmed dashboard json (#33465) 2021-04-28 19:38:33 +08:00
search LibraryPanels: Adds panel type filter and sorting (#33425) 2021-04-28 09:18:13 +02:00
shorturls Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
sqlstore Alerting: Remove datasource (name) from migration (#33544) 2021-04-30 07:47:01 -04:00
teamguardian chore: avoid aliasing imports in services (#22499) 2020-02-29 13:35:15 +01:00
validations Plugins: Requests validator (#30445) 2021-02-03 20:47:45 +01:00