Преглед на файлове

adds basic auth configuration to default.ini

bergquist преди 7 години
родител
ревизия
c999394b49
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  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)