From 114176d9c886056bcc198cf0e2b7870a535020cc Mon Sep 17 00:00:00 2001 From: Markus Schmidl Date: Tue, 4 Jun 2024 14:11:01 +0200 Subject: [PATCH] notice-me-senpai: enable experimental promql queries --- hosts/notice-me-senpai/grafana.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/notice-me-senpai/grafana.nix b/hosts/notice-me-senpai/grafana.nix index 347947e..de4b3cd 100644 --- a/hosts/notice-me-senpai/grafana.nix +++ b/hosts/notice-me-senpai/grafana.nix @@ -19,6 +19,8 @@ in enable = true; port = 9501; listenAddress = registry.wgAddr4; + # Sorting by label is an experimental feature: https://prometheus.io/docs/prometheus/latest/querying/functions/#sort_by_label + extraFlags = [ "--enable-feature=promql-experimental-functions" ]; globalConfig = { scrape_interval = "131s"; };