From d173a9348c75cd1d8423eb3ad2e37e647a5bb0df Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Fri, 21 May 2021 16:55:19 +0300 Subject: [PATCH] docs/MetricsQL.md: add a link to a list of supported timezones that can be passed to timezone_offset() function Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1306 --- docs/MetricsQL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/MetricsQL.md b/docs/MetricsQL.md index ff7eb13eb..200df426c 100644 --- a/docs/MetricsQL.md +++ b/docs/MetricsQL.md @@ -156,4 +156,4 @@ This functionality can be tried at [an editable Grafana dashboard](http://play-g anomalies in time series comparing to historical samples. - `zscore(q) by (group)` - returns independent [z-score](https://en.wikipedia.org/wiki/Standard_score) values for every point in every `group` of `q`. Useful for detecting anomalies in the group of related time series. -- `timezone_offset("tz")` - returns offset in seconds for the given timezone `tz` relative to UTC. This can be useful when combining with datetime-related functions. For example, `day_of_week(time()+timezone_offset("America/Los_Angeles"))` would return weekdays for `America/Los_Angeles` time zone. Special `Local` time zone can be used for returning an offset for the time zone set on the host where VictoriaMetrics runs. +- `timezone_offset("tz")` - returns offset in seconds for the given timezone `tz` relative to UTC. This can be useful when combining with datetime-related functions. For example, `day_of_week(time()+timezone_offset("America/Los_Angeles"))` would return weekdays for `America/Los_Angeles` time zone. Special `Local` time zone can be used for returning an offset for the time zone set on the host where VictoriaMetrics runs. See [the list of supported timezones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).