mirror of https://github.com/grafana/grafana.git
* Add basic UI for custom ruler URL * Add build info fetching for alerting data sources * Add keeping data sources build info in the store * Use data source build info to construct data source urls * Remove unused code * Add custom ruler support in prometheus api calls * Migrate actions * Use thunk condition to prevent multiple data source buildinfo fetches * Unify prom and ruler rules loading * Upgrade RuleEditor tests * Upgrade RuleList tests * Upgrade PanelAlertTab tests * Upgrade actions tests * Build info refactoring * Get rid of lotex ruler support action * Add prom ruler availability checking when the buildinfo is not available * Add rulerUrlBuilder tests * Improve prometheus data source validation, small build info refactoring * Change prefix based on Prometheus subtype * Use the correct path * Revert config routing * Add deprecation notice for /api/prom prefix * Add tests to the datasource subtype * Remove custom ruler support * Remove deprecation notice * Prevent fetching ruler rules when ruler api is not available * Add build info tests * Unify naming of ruler methods * Fix test * Change buildinfo data source validation * Use strings for subtype params and unveil mimir * organise imports * frontend changes and wordsmithing * fix test suite * add a nicer verbose message for prometheus datasources * detect Mimir datasource * fix test * fix buildinfo test for Mimir * shrink vectors * add some code documentation * DRY prepareRulesFilterQueryParams * clarify that Prometheus does not support managing rules * Improve buildinfo error handling Co-authored-by: gotjosh <josue.abreu@gmail.com> Co-authored-by: gillesdemey <gilles.de.mey@gmail.com> |
||
|---|---|---|
| .. | ||
| test-data | ||
| tooling | ||
| api.go | ||
| api_admin.go | ||
| api_alertmanager.go | ||
| api_alertmanager_test.go | ||
| api_prometheus.go | ||
| api_prometheus_test.go | ||
| api_prometheus_test_fixtures.go | ||
| api_ruler.go | ||
| api_ruler_test.go | ||
| api_ruler_validation.go | ||
| api_ruler_validation_test.go | ||
| api_testing.go | ||
| api_testing_test.go | ||
| authorization.go | ||
| authorization_test.go | ||
| fork_ruler.go | ||
| forked_admin.go | ||
| forked_am.go | ||
| forked_prom.go | ||
| forked_testing.go | ||
| generated_base_api_alertmanager.go | ||
| generated_base_api_configuration.go | ||
| generated_base_api_prometheus.go | ||
| generated_base_api_ruler.go | ||
| generated_base_api_testing.go | ||
| lotex_am.go | ||
| lotex_prom.go | ||
| lotex_ruler.go | ||
| lotex_ruler_test.go | ||
| promql_compat.go | ||
| promql_compat_test.go | ||
| testing.go | ||
| util.go | ||
| util_test.go | ||