Skip to content
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

Datetime filter in Alert Rule follows the timezone from server while the graph in Alert Rule follows the timezone from browser #18

Open
douglas-wiliam opened this issue Aug 22, 2023 · 3 comments
Assignees

Comments

@douglas-wiliam
Copy link

douglas-wiliam commented Aug 22, 2023

I think that the problem here is that the plugin is converting the datetime from the two filter in image below to the timezone from server while the graph is defined in timezone from local browser generating to the user a bit of confusion in time define alert rules.

image

I verified it because my sever is configured in GMT-0 while my browser is in GMT-3 and the result in query is a graph forwarded 3h in future.

Grafana 10.0.3 running in Docker container
Ubuntu 22.04.3

@douglas-wiliam douglas-wiliam changed the title Datetime filter in Alert Rule follows the timezone from server while the graph follows the timezone from browser Datetime filter in Alert Rule follows the timezone from server while the graph in Alert Rule follows the timezone from browser Aug 22, 2023
@sdairs
Copy link
Collaborator

sdairs commented Aug 29, 2023

Thanks for the report @douglas-wiliam - @radchukd will be taking a look at this soon

@radchukd
Copy link
Contributor

radchukd commented Sep 7, 2023

@douglas-wiliam what's your desired behaviour? You are right, in both cases, we take time that's given by grafana (server/browser).

@douglas-wiliam
Copy link
Author

douglas-wiliam commented Sep 11, 2023

@douglas-wiliam what's your desired behaviour? You are right, in both cases, we take time that's given by grafana (server/browser).

@radchukd I think that is needed either a select list to define GMT or show the graph with the GMT from server as default instead the GMT from the browser how it is currently

c.c.: @gustavoaraujofe any other opinion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants