Переглянути джерело

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)