From 335e0cac119dd5a007d50d371ca1d07afb0bd354 Mon Sep 17 00:00:00 2001 From: Todd Treece <360020+toddtreece@users.noreply.github.com> Date: Wed, 17 Nov 2021 16:45:05 -0500 Subject: [PATCH] Recorded Queries: Add frontend settings (#41841) --- pkg/api/frontendsettings.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/api/frontendsettings.go b/pkg/api/frontendsettings.go index d61d3f05c43..2db53f1628c 100644 --- a/pkg/api/frontendsettings.go +++ b/pkg/api/frontendsettings.go @@ -299,6 +299,9 @@ func (hs *HTTPServer) getFrontendSettingsMap(c *models.ReqContext) (map[string]i "caching": map[string]bool{ "enabled": hs.Cfg.SectionWithEnvOverrides("caching").Key("enabled").MustBool(true), }, + "recordedQueries": map[string]bool{ + "enabled": hs.Cfg.SectionWithEnvOverrides("recorded_queries").Key("enabled").MustBool(false), + }, "unifiedAlertingEnabled": hs.Cfg.UnifiedAlerting.Enabled, }