grafana/docs/sources/datasources
Brendan O'Handley 2372b7c626
Prometheus: Improve prometheus query variable editor (#63529)
* add prom query var editor with tests and migrations

* fix migration, now query not expr

* fix label_values migration

* remove comments

* fix label_values() variables order

* update UI and use more clear language

* fix tests

* use null coalescing operators

* allow users to query label values with label and metric if they have not set there flavor and version

* use enums instead of numbers for readability

* fix label&metrics switch

* update type in qv editor

* reuse datasource function to get all label names, getLabelNames(), prev named getTagKeys()

* use getLabelNames in the query var editor

* make label_values() variables label and metric more readable in the migration

* fix tooltip for label_values to remove API reference

* clean up tooltips and allow newlines in query_result function

* change function wording and exprType to query type/qryType for readability

* update prometheus query variable docs

* Update public/app/plugins/datasource/prometheus/components/VariableQueryEditor.tsx

Co-authored-by: Galen Kistler <109082771+gtk-grafana@users.noreply.github.com>

* handle jsonnet grafana as code variables

---------

Co-authored-by: Galen Kistler <109082771+gtk-grafana@users.noreply.github.com>
2023-02-27 08:38:05 -05:00
..
alertmanager Alerting: Improve Alertmanager data source docs (#63611) 2023-02-24 13:48:58 +01:00
aws-cloudwatch Cloudwatch: Set CloudwatchCrossAccountQuery feature to stable (#62348) 2023-01-27 16:46:08 -05:00
azure-monitor Azure Monitor: Docs update for multiple resources (#62454) 2023-01-31 09:51:05 +01:00
elasticsearch Elastic: Change elastic version 8.0+ to be more accurate (#61379) 2023-01-16 15:54:40 +00:00
google-cloud-monitoring Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
graphite Graphite: Have metric name type query variable use metric render endpoint (#61730) 2023-01-23 18:13:22 -05:00
influxdb Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
jaeger Tempo: Update docs and default Tempo metrics query (#62185) 2023-01-27 10:03:52 +00:00
loki Logs: Adjust documentation for new log details (#61311) 2023-01-20 10:16:50 +01:00
mssql SQL Datasources: Move database setting to jsonData (#58649) 2022-12-13 09:56:52 +01:00
mysql MySQL: Quote identifiers that include special characters (#61135) 2023-01-31 18:16:28 +01:00
opentsdb Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
postgres SQL Datasources: Move database setting to jsonData (#58649) 2022-12-13 09:56:52 +01:00
prometheus Prometheus: Improve prometheus query variable editor (#63529) 2023-02-27 08:38:05 -05:00
tempo Tempo: Trace to logs update image (#62796) 2023-02-02 16:52:34 +01:00
testdata TestData: Remove references to TestData "DB" (#62603) 2023-01-31 16:40:00 +00:00
zipkin Chore: No longer refer to Node Graph as being in beta (#61775) 2023-01-19 14:56:39 +00:00
_index.md Docs: rewrite data source intro (#61639) 2023-01-20 11:36:12 -06:00
parca.md Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
phlare.md Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00