Unexpected Time Drift in InfluxDB Queries When Visualized in Grafana

Hello

I was facing a strange issue where InfluxDB time series data looks accurate when queried directly via the CLI or Chronograf but when visualized in Grafana; the timestamps seem off by several hours or even drift inconsistently. :upside_down_face:

This behavior is especially noticeable when comparing live data to historic values on the same dashboard. :slightly_smiling_face:I am using UTC throughout the stack; so I don’t believe it’s a local browser / user setting. :innocent:

Could this be due to Grafana’s handling of timezones / something deeper like InfluxDB’s retention policies misaligning timestamps across shards? :thinking: I have checked the tz setting in Grafana, ensured server clocks are in sync & verified the data in InfluxDB is being written with UTC timestamps. Still; the visual drift persists intermittently on some panels. :thinking:

Checked Time and timezone queries | InfluxDB OSS v2 Documentation. guide related to this and found it helpful.

As someone still getting a grasp on what is Grafana & how it interprets and displays time series data; I would appreciate guidance on aligning InfluxDB output with Grafana visualization; especially for globally distributed monitoring setups. :slightly_smiling_face:

Thank you!! :slightly_smiling_face: