mirror of
https://github.com/grafana/grafana.git
synced 2025-02-03 20:21:01 -06:00
Recorded Queries: Add frontend settings (#41841)
This commit is contained in:
parent
6844cf57a0
commit
335e0cac11
@ -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…
Reference in New Issue
Block a user