Recorded Queries: Add frontend settings (#41841)

pull/41842/head
Todd Treece 4 years ago committed by GitHub
parent 6844cf57a0
commit 335e0cac11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      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,
}

Loading…
Cancel
Save