diff --git a/packages/grafana-runtime/src/config.ts b/packages/grafana-runtime/src/config.ts index 99c63fd66a3..bb3edef57a9 100644 --- a/packages/grafana-runtime/src/config.ts +++ b/packages/grafana-runtime/src/config.ts @@ -107,6 +107,9 @@ export class GrafanaBootConfig implements GrafanaConfig { featureHighlights = { enabled: false, }; + reporting = { + enabled: true, + }; constructor(options: GrafanaBootConfig) { const mode = options.bootData.user.lightTheme ? 'light' : 'dark'; diff --git a/pkg/api/frontendsettings.go b/pkg/api/frontendsettings.go index 1767ca37533..166de771e65 100644 --- a/pkg/api/frontendsettings.go +++ b/pkg/api/frontendsettings.go @@ -164,6 +164,9 @@ func (hs *HTTPServer) getFrontendSettingsMap(c *models.ReqContext) (map[string]i "recordedQueries": map[string]bool{ "enabled": hs.Cfg.SectionWithEnvOverrides("recorded_queries").Key("enabled").MustBool(true), }, + "reporting": map[string]bool{ + "enabled": hs.Cfg.SectionWithEnvOverrides("reporting").Key("enabled").MustBool(true), + }, "unifiedAlertingEnabled": hs.Cfg.UnifiedAlerting.Enabled, }