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

Use time range to calculate default granularity instead of options.intervalMs #57

Open
hulien22 opened this issue Apr 8, 2019 · 0 comments

Comments

@hulien22
Copy link
Contributor

hulien22 commented Apr 8, 2019

It seems as though options.intervalMs varies depending on the panel type. We currently use this value to calculate a granularity to set if no granularity is provided. However, this can be confusing to users since if they have the same query in two different panels (e.g. graph and singlestat), then they can get different values.
I propose using the time range to calculate what the interval should be ourselves, that way we do properly give the same results across all panels.

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

1 participant