grafana/public/app/types
Konrad Lalik 6992d17924
Alerting: Add support to distinguish Prometheus datasource subtypes (Mimir, Cortex and Vanilla Prometheus) (#46771)
* 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>
2022-04-04 18:30:17 +01:00
..
jquery Minor progress on fixing no-implicit any issues 2019-03-19 18:24:47 +01:00
accessControl.ts Chore: Add type info for grafana boot data (#45322) 2022-03-30 10:48:58 +01:00
acl.ts Dashboard: Prevents folder change when navigating to general settings (#38103) 2021-08-20 11:53:48 +02:00
alerting.ts Alerting: Add validation to slack contact point (#45618) 2022-02-25 15:10:21 +01:00
apiKeys.ts Admin: token expiration colors and calculations (#45231) 2022-02-18 11:43:33 +01:00
appEvent.ts Chore: upgrade to Typescript 3.9.3 (#25154) 2020-06-17 12:26:01 +02:00
appNotifications.ts AppNotifications: Migrate usage of deprecated appEvents.emit method to redux actions (#45607) 2022-02-23 11:31:15 +00:00
config.ts Chore: Add type info for grafana boot data (#45322) 2022-03-30 10:48:58 +01:00
dashboard.ts Access Control: hiding annotation edition and deletion without permissions (#46904) 2022-04-04 11:57:43 -03:00
datasources.ts Datasources: Fix deletion of datasource if plugin cannot be found (#40095) 2021-10-08 12:31:43 +02:00
events.ts Explore: Add t * keybindings to change time range (#45020) 2022-02-17 07:39:02 -06:00
explore.ts Explore: allow users to save Explore state to a new panel in a new dashboard (#45148) 2022-03-03 08:54:06 +00:00
folders.ts Access control: Dashboard and folder permissions frontend (#45094) 2022-03-03 15:18:27 +01:00
index.ts Angular: Option to disable angular support and isolate angular dependencies (#45421) 2022-02-16 17:14:33 +01:00
ldap.ts Chore: Fix more strict typescript errors (#35514) 2021-06-14 15:13:48 +01:00
location.ts FieldOverride: Support data links via field overrides (#23590) 2020-04-20 07:37:38 +02:00
lru-cache.d.ts Update dependency lru-cache to v7 (#45074) 2022-02-18 10:23:06 +01:00
organization.ts SelectOrgPage: migrate API function calls to Redux (#43133) 2021-12-16 09:57:18 +01:00
plugins.ts Chore: reduces circular dependencies for variables/utils.ts (#44087) 2022-01-17 12:48:26 +01:00
preferences.ts Dashboard: Add week start option to global and dashboard preferences (#40010) 2021-10-18 10:27:14 -03:00
query.ts DataSource: Default data source is no longer a persisted state but just the default data source for new panels (#45132) 2022-03-08 08:56:12 +01:00
sanitize-url.d.ts DataLinks: Sanitize data/panel link URLs (#21140) 2019-12-18 11:31:11 +01:00
serviceaccount.ts Searchable service accounts (#45844) 2022-03-04 12:04:07 +01:00
store.ts AppNotifications: Migrate usage of deprecated appEvents.emit method to redux actions (#45607) 2022-02-23 11:31:15 +00:00
suggestions.ts VisualizationSuggestions: Support image & text instead of real previews. Adds suggestions for all non data panels when there are no data (#42074) 2021-11-25 10:52:01 +01:00
svg.d.ts Transforms: Adds beta notice and updates transform descriptions (#24158) 2020-05-04 15:05:31 +02:00
teams.ts AccessControl: Change teams permissions page when accesscontrol is enabled (#43971) 2022-02-03 17:49:39 +01:00
templates.ts make variable type more slim 2019-01-07 11:26:06 +01:00
unified-alerting-dto.ts Alerting: Add support to distinguish Prometheus datasource subtypes (Mimir, Cortex and Vanilla Prometheus) (#46771) 2022-04-04 18:30:17 +01:00
unified-alerting.ts Alerting: Add support to distinguish Prometheus datasource subtypes (Mimir, Cortex and Vanilla Prometheus) (#46771) 2022-04-04 18:30:17 +01:00
user.ts Redux: Factor Invites out to separate slice (#45552) 2022-02-21 11:37:49 +00:00
window.d.ts Chore: Prevent loading error from showing too early (#41347) 2021-11-08 16:13:37 +01:00