Merge pull request #10373 from kleph/update_prometheus_doc

doc(metrics): strongly suggest using local address in prometheus exporter doc
This commit is contained in:
Colin Darie 2024-04-24 06:33:07 +00:00 committed by GitHub
commit 7036871d88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -244,9 +244,11 @@ REDIS_SIDEKIQ_MASTER='master_name'
REDIS_SIDEKIQ_PASSWORD='sentinel_and_redis_password' REDIS_SIDEKIQ_PASSWORD='sentinel_and_redis_password'
REDIS_SIDEKIQ_USERNAME='sentinel_and_redis_username' 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 # 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_PORT="9394"
PROMETHEUS_EXPORTER_ENABLED="disabled" PROMETHEUS_EXPORTER_ENABLED="disabled"