doc(metrics): strongly suggest using local address in prometheus exporter doc

This commit is contained in:
kleph 2024-04-23 14:47:27 +02:00
parent 9d5a4a79bb
commit f6b117ce73
No known key found for this signature in database
GPG key ID: EDB86C98B5D77D46

View file

@ -244,9 +244,11 @@ REDIS_SIDEKIQ_MASTER='master_name'
REDIS_SIDEKIQ_PASSWORD='sentinel_and_redis_password'
REDIS_SIDEKIQ_USERNAME='sentinel_and_redis_username'
# configuration for prometheus metrics web server
# configuration for prometheus metrics web server on /metrics
# launched with sidekiq and puma
PROMETHEUS_EXPORTER_BIND="0.0.0.0"
# adjust according to your prometheus probe, 127.0.0.1 or your local/admin net address
# it's advised to avoid 0.0.0.0 or if you do, please configure ACL elsewhere (webserver, reverse proxy, ...)
PROMETHEUS_EXPORTER_BIND="127.0.0.1"
PROMETHEUS_EXPORTER_PORT="9394"
PROMETHEUS_EXPORTER_ENABLED="disabled"