grafana / grafana

The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
https://grafana.com
GNU Affero General Public License v3.0
61.46k stars 11.74k forks source link

Grafana Label Values: not matching metrics and label filters #88875

Open harishmk opened 4 weeks ago

harishmk commented 4 weeks ago

What happened?

[Uploading Video 6-06 at 15.19.webm…]()

the label values in a dashboard does not match metrics and label filters

What did you expect to happen?

the label values should change according to the metric and label filters specified. but it doesnt.

Did this work before?

On 10.4.3 i was able to select label values according to metric and label filters

How do we reproduce it?

  1. on a dahsboard click on dashboard settings
  2. click on variables tab
  3. click on new variable
  4. Data source = Prometheus
  5. select "Label Values" as Query type
  6. select a label, check "preview of values"
  7. select a metric, the "preview of values" remains unchanged
  8. type a wrong metric name, "preview of values" remains unchanged

Is the bug inside a dashboard panel?

No response

Environment (with versions)?

Grafana: 11.0.0 OS: CentOS 8 Browser: Google Chrome Version 125.0.6422.112 (Official Build) (64-bit)

Grafana platform?

I don't know

Datasource(s)?

Prometheus

harishmk commented 4 weeks ago

not able to upload pictures or video captures

torkelo commented 4 weeks ago

Strange, Unable to replicate this on https://play.grafana.org ). running Grafana v11.1.0-71516 (0ba54152dc)

harishmk commented 3 weeks ago

will try out v11.1.0, thanks.