Wrong date in timeseries tooltip

  • What Grafana version and what operating system are you using?
    8.1.0

  • What are you trying to achieve?
    Correct tooltip date in timeseries panel.

  • What happened?
    When I use mouse to view info about points in timeseries panel, the tooltip box show wrong date. Eg:

Point X = 12:15h
Point Y = 12:16h

When mouse is close to X, show Y date.
When mouse is close to Y, show X date.

  • Did you follow any online instructions? If so, what is the URL?

I recorded .GIF to show this error/bug and uploaded to my drive (Peek 2021-08-31 12-17.gif - Google Drive)

1 Like

Any one can help me?

Stupid Question: Do you have the Panel Query ordered by Time Descending ?

Hello! Thanks for reply!

  1. The last line in DB is the higher unix value.

  2. When I change the panel to the OLD GRAPH, this work correctly. But with new timeseries panel, this “bug” appears.

Maybe that forcing the ordering works, but why in the old chart it works and in this new it doesn’t? Bug?! Old graph force time sort?

1 Like

I know I had same problem with Timezones, Data is in local time but time series Graph I think always does UTC, So I had to offset my data by One hour and offset the filter the other direction this it matched the DB

Oh! I see this too! I have one PC in my house and date (timezone) in panel is wrong and I doesnt understood. I will test with old graph and tell here…

1 Like

I seen this problem here and repliesd, mightn’t be right for them but hopefully helps, even if not in MS SQL but just the logic to offset

https://localhost:3000/t/multiple-time-zones-in-a-single-dashboard/52356/2?u=t_grumpyengineer

That looks like a bug - probably best to open a Github issue, if one hasn’t been opened already (I searched quickly but couldn’t fine one).

2 Likes
2 Likes

Yes, its a bug. Updating Grafana to 8.1.2 fix tooltip error AND color of vertical lines in alerts (all created is blue). Thanks for attention.

2 Likes

This topic was automatically closed after 365 days. New replies are no longer allowed.