Open Jaypers opened 2 weeks ago
When using a label_value() query across repeated rows the respective datasource isn't used. It seems to use the default datasource instead.
label_value()
This might be similar to https://github.com/grafana/grafana/issues/58558
I expected to see label_value() data from each of the repeated datasources.
I don't know but it seems like it should intuitively work this way.
Add a Label Value dashboard variable. Choose a label that:
label_value(grafana_environment_info,app.kubernetes.io/name)
Note: When selecting a different data source the value for the Label Value is updated as expected:
Create a row that repeats per datasource:
Add a text visualisation to the repeated row that uses the Label Value variable:
Selecting one or the other datasource reflects correctly:
Selecting all with repeat does not:
No.
Grafana: Grafana v10.4.1 (d94d597d84) OS: Kubernetes 1.29 Browser: Chrome
Kubernetes
Prometheus
What happened?
When using a
label_value()
query across repeated rows the respective datasource isn't used. It seems to use the default datasource instead.This might be similar to https://github.com/grafana/grafana/issues/58558
What did you expect to happen?
I expected to see
label_value()
data from each of the repeated datasources.Did this work before?
I don't know but it seems like it should intuitively work this way.
How do we reproduce it?
Add a Label Value dashboard variable. Choose a label that:
label_value(grafana_environment_info,app.kubernetes.io/name)
Note: When selecting a different data source the value for the Label Value is updated as expected:
Create a row that repeats per datasource:
Add a text visualisation to the repeated row that uses the Label Value variable:
Selecting one or the other datasource reflects correctly:
Selecting all with repeat does not:
Is the bug inside a dashboard panel?
No.
Environment (with versions)?
Grafana: Grafana v10.4.1 (d94d597d84) OS: Kubernetes 1.29 Browser: Chrome
Grafana platform?
Kubernetes
Datasource(s)?
Prometheus