mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Alerting: Don't use a separate collection system for metrics The state package had a metric collection system that ran every 15s updating the values of the metrics - there is a common pattern for this in the Prometheus ecosystem called "collectors". I have removed the behaviour of using a time-based interval to "set" the metrics in favour of a set of functions as the "value" that get called at scrape time. |
||
---|---|---|
.. | ||
alertmanager.go | ||
api.go | ||
historian.go | ||
multi_org_alertmanager.go | ||
ngalert.go | ||
scheduler.go | ||
state.go | ||
util.go |