mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 04:04:00 -06:00
393faa8732
* Add health fields to rules and an aggregator method to the scheduler * Move health, last error, and last eval time in together to minimize state processing * Wire up a readonly scheduler to prom api * Extract to exported function * Use health in api_prometheus and fix up tests * Rename health struct to status * Fix tests one more time * Several new tests * Handle inactive rules * Push state mapping into state manager * rename to StatusReader * Rectify cyclo complexity rebase * Convert existing package local status implementation to models one * fix tests * undo RuleDefs rename |
||
---|---|---|
.. | ||
alert_rule_test.go | ||
alert_rule.go | ||
alerts_sender_mock.go | ||
fetcher.go | ||
jitter_test.go | ||
jitter.go | ||
loaded_metrics_reader_test.go | ||
loaded_metrics_reader.go | ||
metrics_test.go | ||
metrics.go | ||
recording_rule_test.go | ||
recording_rule.go | ||
registry_bench_test.go | ||
registry_test.go | ||
registry.go | ||
schedule_unit_test.go | ||
schedule.go | ||
testing.go |