Alerting: create LabelPicker
component for Prometheus / Cortex / Loki labels
#45455
Labels
LabelPicker
component for Prometheus / Cortex / Loki labels
#45455
We have a few different places where we could improve the alerting UI by allowing the user to select existing label keys / values.
The Prometheus and Loki datasources expose the necessary functions for querying label keys and values.
LabelKeyPicker
andLabelValuePicker
components(stretch/do later)
For Prometheus / Cortex
grafana/public/app/plugins/datasource/prometheus/datasource.ts
Lines 794 to 807 in 163b570
For Loki
grafana/public/app/plugins/datasource/loki/datasource.ts
Lines 446 to 452 in 163b570
The text was updated successfully, but these errors were encountered: