-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Time range resets to 24 hours on variables refresh in Grafana 11.3 when using query variables #118
Comments
Hi, we are having the same issue. It started happening after upgrading to Grafana v11.3.0 from v11.2.2. We tested it with datasource versions v0.6.1 and v0.9.0. @p5i the workaround of not having variables refresh on time range change is also working in our case, thanks a lot! |
Hi @p5i , @koriit-kontakt ! I Suppose this issue is related to this issue |
Hi @dmitryk-dk My problem is that time range of the query differs from time range specified on the dashboard. For example I set 1 munute range on the dashboard, but in the query I see 24 hours (23:59:59 exactly) range. The query to VL from the network dump:
Reproduced with Grafana v11.3.2 and victorialogs-datasource v0.10.0 |
I think it is mostly Grafana issue instead of plugin, but anyway we will check what can cause the problem |
Weirdly, I can reproduce the issue at playground with latest Grafana version. But can't do it in our internal snadbox that runs v11.2.1 |
I built the datasource plugin with the #137 fix. It doesn't seam to fix time range reset. |
@Loori-R Thanks. Checked in Chromium browser and in private mode in Firefox. Both ways work fine. It is some Firefox caching problem. UPD: Completely cleaning site data for the domain in Firefox helped. |
v0.11.0 fixed this issue for us. Thanks a lot! |
@dmitryk-dk |
After updating Grafana to v11.3.0 or v11.3.1 time range resets to 24 hours when variables are refreshed.
To reproduce you can add variable of type 'query', make it refresh on time range change, than build the time series graph.
Try to change time range to less then 24 hours and it will remain 24 hours.
I tried the datasource versions v0.8.0 and v0.7.0
The text was updated successfully, but these errors were encountered: