mirror of https://github.com/grafana/grafana.git
Prometheus: Add support for cloud partners Prometheus data sources (#103482)
* wip
* Add prom flavor support for data source variables and export/import dashboards (#103321)
* add dashboard and data source var selection
* use match plugin id instead
* use updated matchpluginid
* formatting
* cleanup
* regex anchor
* update error msg
* Alerting: Clean up prometheus-flavored types and functions (#103703)
* clean up types and utility functions for dealing with
prometheus-flavored data sources
* Refactor alerting datasource types to use constants as source of truth
* Alerting: Clean up prometheus-flavored types and functions on the bac… (#103716)
Alerting: Clean up prometheus-flavored types and functions on the backend
* add matchPluginId tests
* Update matchPluginId func to bidirectional (#103746)
* update matchpluginid func to bidirectional
* lint
* formatting
* use actual isSupportedExternalRulesSourceType in test
* add tests in datasource_srv
* betterer
* remove type assertion
* remove unnecessary case
* use satisifies to not have to convert tuple to an array of string
* add prometheus_flavor test
---------
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
Co-authored-by: Alexander Akhmetov <me@alx.cx>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| classic | ||
| mathexp | ||
| ml | ||
| sql | ||
| commands.go | ||
| commands_test.go | ||
| converter.go | ||
| converter_test.go | ||
| dataplane.go | ||
| dataplane_test.go | ||
| errors.go | ||
| errors_test.go | ||
| graph.go | ||
| graph_test.go | ||
| hysteresis.go | ||
| hysteresis_test.go | ||
| metrics.go | ||
| ml.go | ||
| ml_test.go | ||
| nodes.go | ||
| nodes_test.go | ||
| query.go | ||
| query.panel.example.json | ||
| query.panel.schema.json | ||
| query.request.example.json | ||
| query.request.schema.json | ||
| query.types.json | ||
| query_test.go | ||
| reader.go | ||
| reader_test.go | ||
| service.go | ||
| service_test.go | ||
| sql_command.go | ||
| sql_command_test.go | ||
| testing.go | ||
| threshold.go | ||
| threshold_bench_test.go | ||
| threshold_test.go | ||
| transform.go | ||