From 29097df7ed979d51753ee04a82a426b5d2706502 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 17:12:07 +0300 Subject: [PATCH] [v11.2.x] Added admonition about time zones (#92295) 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 f89e3f06215..1e5abb45de2 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.