Explorar el Código

adds basic auth configuration to default.ini

bergquist hace 7 años
padre
commit
c999394b49
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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)