Variable requests do not respect the time range filter
hagen1778 opened this issue · comments
The bugfix has been included in v0.1.3. Closing the issue as fixed.
Grafana Version 9.3.6 (commit: 978237e7cb, branch: HEAD)
victoriametrics-datasource @ 0.2.0
The issue still persists. When the variable "refresh" parameter is set to "On time range change" for updating the variable, the time range that was loaded with the dashboard will be used instead of the selected one.
@zoadsa please provide the context how to reproduce the bug
Steps to reproduce:
- Create variable with "On time range change"
- Check the time range in the /api/v1/series request for this variable
(6h)
- Change time range in Grafana UI
- Check the time range in the request again, it has not been changed
(still 6h)
Expected behavior: The time range in the request should change according to the selected time range in the Grafana UI
The issue supposed to be addressed in #81 and will be included into the next release.
The bugfix has been included in v0.2.1. Closing the issue as fixed.