Procházet zdrojové kódy

adds basic auth configuration to default.ini

bergquist před 7 roky
rodič
revize
c999394b49
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4 0
      conf/defaults.ini

+ 4 - 0
conf/defaults.ini

@@ -490,6 +490,10 @@ enabled = false
 enabled           = true
 interval_seconds  = 10
 
+#If both are set, basic auth will be required for the metrics endpoint.
+basic_auth_username =
+basic_auth_password =
+
 # Send internal Grafana metrics to graphite
 [metrics.graphite]
 # Enable by setting the address setting (ex localhost:2003)