From 4d1f3a3f6c2e3723f8007e11a9ed37f553b8d3ec Mon Sep 17 00:00:00 2001 From: Todd Treece <360020+toddtreece@users.noreply.github.com> Date: Thu, 27 Jan 2022 11:09:39 -0500 Subject: [PATCH] Recorded Queries: Enable by default (#44397) --- packages/grafana-runtime/src/config.ts | 2 +- pkg/api/frontendsettings.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/grafana-runtime/src/config.ts b/packages/grafana-runtime/src/config.ts index da3989ad381..ec4825f27c1 100644 --- a/packages/grafana-runtime/src/config.ts +++ b/packages/grafana-runtime/src/config.ts @@ -93,7 +93,7 @@ export class GrafanaBootConfig implements GrafanaConfig { applicationInsightsConnectionString?: string; applicationInsightsEndpointUrl?: string; recordedQueries = { - enabled: false, + enabled: true, }; featureHighlights = { enabled: false, diff --git a/pkg/api/frontendsettings.go b/pkg/api/frontendsettings.go index 65a3a4646c2..6b5a6f10c8c 100644 --- a/pkg/api/frontendsettings.go +++ b/pkg/api/frontendsettings.go @@ -269,7 +269,7 @@ func (hs *HTTPServer) getFrontendSettingsMap(c *models.ReqContext) (map[string]i "enabled": hs.Cfg.SectionWithEnvOverrides("caching").Key("enabled").MustBool(true), }, "recordedQueries": map[string]bool{ - "enabled": hs.Cfg.SectionWithEnvOverrides("recorded_queries").Key("enabled").MustBool(false), + "enabled": hs.Cfg.SectionWithEnvOverrides("recorded_queries").Key("enabled").MustBool(true), }, "unifiedAlertingEnabled": hs.Cfg.UnifiedAlerting.Enabled, "featureHighlights": map[string]bool{