Explorar o código

enable explore by default

closes #15037
bergquist %!s(int64=7) %!d(string=hai) anos
pai
achega
6e672eb291
Modificáronse 3 ficheiros con 3 adicións e 3 borrados
  1. 1 1
      conf/defaults.ini
  2. 1 1
      conf/sample.ini
  3. 1 1
      pkg/setting/setting.go

+ 1 - 1
conf/defaults.ini

@@ -504,7 +504,7 @@ concurrent_render_limit = 5
 #################################### Explore #############################
 [explore]
 # Enable the Explore section
-enabled = false
+enabled = true
 
 #################################### Internal Grafana Metrics ############
 # Metrics available at HTTP API Url /metrics

+ 1 - 1
conf/sample.ini

@@ -429,7 +429,7 @@ log_queries =
 #################################### Explore #############################
 [explore]
 # Enable the Explore section
-;enabled = false
+;enabled = true
 
 #################################### Internal Grafana Metrics ##########################
 # Metrics available at HTTP API Url /metrics

+ 1 - 1
pkg/setting/setting.go

@@ -718,7 +718,7 @@ func (cfg *Cfg) Load(args *CommandLineArgs) error {
 	AlertingNoDataOrNullValues = alerting.Key("nodata_or_nullvalues").MustString("no_data")
 
 	explore := iniFile.Section("explore")
-	ExploreEnabled = explore.Key("enabled").MustBool(false)
+	ExploreEnabled = explore.Key("enabled").MustBool(true)
 
 	panels := iniFile.Section("panels")
 	cfg.EnableAlphaPanels = panels.Key("enable_alpha").MustBool(false)