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

[BUG] Wrong time filter #108

Open
pedrosodre opened this issue Feb 8, 2024 · 1 comment
Open

[BUG] Wrong time filter #108

pedrosodre opened this issue Feb 8, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@pedrosodre
Copy link

Describe the bug
I've created a panel on Grafana to get total website sessions, but when I select on Grafana something like "Last 6 hours" and current time is 03 AM, it counts entire last day.

Grafana Version & Plugin Version
Grafana 10.3, Plugin 0.2.3

To Reproduce
Create a simple panel using any metric and select some date time that get part of one day.

Expected behavior
It should get/count values only from selected time.

Screenshots
image

@pedrosodre pedrosodre added the bug Something isn't working label Feb 8, 2024
@lcc3108 lcc3108 self-assigned this Feb 13, 2024
@lcc3108
Copy link
Member

lcc3108 commented Feb 14, 2024

Google analytics api does not support a specific time.
It needs to be handled at the plugin level.

The behavior is definitely not intuitive (in the past I think I thought it was okay to bring in a lot of data though)

Intuitively, we will proceed with modifying it to display only the data within that time.
However, the user must set the time dimension well.
ex) If you set it to 6 hours and then set the time dimension to day, there may be no data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants