From 312b99f68e575136a0b49d38b4f3704c83b1d527 Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Thu, 22 Aug 2024 14:12:28 +0000 Subject: [PATCH] [v11.1.x] Added admonition about time zones (#92294) Co-authored-by: Jack Baldry Co-authored-by: Irene Rodriguez --- docs/sources/datasources/mssql/query-editor/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/sources/datasources/mssql/query-editor/index.md b/docs/sources/datasources/mssql/query-editor/index.md index 154229dbafd..3a43954fd23 100644 --- a/docs/sources/datasources/mssql/query-editor/index.md +++ b/docs/sources/datasources/mssql/query-editor/index.md @@ -247,6 +247,10 @@ The resulting table panel: ## Use time series queries +{{< admonition type="note" >}} +Store timestamps in UTC to avoid issues with time shifts in Grafana when using non-UTC timezones. +{{< /admonition >}} + If you set the **Format** setting in the query editor to **Time series**, then the query must have a column named `time` that returns either a SQL datetime or any numeric datatype representing Unix epoch in seconds. Result sets of time series queries must also be sorted by time for panels to properly visualize the result.