mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
4d1a2c3370
The `rule_groups_rules` metric is currently defined and computed by `State`. It makes more sense for this metric to be computed off of the configured rule set, not based on the rule evaluation state. There could be an edge condition where a rule does not have a state yet, and so is uncounted. Additionally, we would like this metric (and others), to have a `rule_group` label, and this is much easier to achieve if the metric is produced from the `Scheduler` package. |
||
---|---|---|
.. | ||
historian | ||
cache_test.go | ||
cache.go | ||
image_mock.go | ||
manager_bench_test.go | ||
manager_private_test.go | ||
manager_test.go | ||
manager.go | ||
persist.go | ||
state_test.go | ||
state.go | ||
template_functions.go | ||
template_test.go | ||
template.go | ||
testing.go |