瀏覽代碼

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)