Settings to enable Explore UI

This commit is contained in:
David Kaltschmidt
2018-04-27 11:39:14 +02:00
parent f1220fd2a4
commit 1e6e89121c
4 changed files with 28 additions and 10 deletions

View File

@@ -168,6 +168,9 @@ var (
AlertingEnabled bool
ExecuteAlerts bool
// Explore UI
ExploreEnabled bool
// logger
logger log.Logger
@@ -609,6 +612,9 @@ func NewConfigContext(args *CommandLineArgs) error {
AlertingEnabled = alerting.Key("enabled").MustBool(true)
ExecuteAlerts = alerting.Key("execute_alerts").MustBool(true)
explore := Cfg.Section("explore")
ExploreEnabled = explore.Key("enabled").MustBool(true)
readSessionConfig()
readSmtpSettings()
readQuotaSettings()