Add ip restriction for the prometheus_client output (#4431)

This commit is contained in:
dupondje
2018-08-02 00:43:34 +02:00
committed by Greg
parent 199841a820
commit e1160c26bc
3 changed files with 34 additions and 2 deletions

View File

@@ -747,6 +747,9 @@
# #basic_username = "Foo"
# #basic_password = "Bar"
#
# ## IP Ranges which are allowed to access metrics
# #ip_range = ["192.168.0.0/24", "192.168.1.0/30"]
#
# ## Interval to expire metrics and not deliver to prometheus, 0 == no expiration
# # expiration_interval = "60s"
#