# HG changeset patch # User RhodeCode Admin # Date 2022-10-14 10:53:25 # Node ID ff9ef25ed2adcea6f0facee13de5dbc796f9d037 # Parent d51a7b836cd4479f1ab0c401825312f7ae823ed8 config: expose statsd config variable diff --git a/configs/development.ini b/configs/development.ini --- a/configs/development.ini +++ b/configs/development.ini @@ -194,7 +194,8 @@ rc_cache.repo_object.expiration_time = 2 ; auto-renew lock to prevent stale locks, slower but safer. Use only if problems happen #rc_cache.repo_object.arguments.lock_auto_renewal = true -; Statsd client config +; Statsd client config, this is used to send metrics to statsd +; We recommend setting statsd_exported and scrape them using Promethues #statsd.enabled = false #statsd.statsd_host = 0.0.0.0 #statsd.statsd_port = 8125 diff --git a/configs/production.ini b/configs/production.ini --- a/configs/production.ini +++ b/configs/production.ini @@ -157,7 +157,8 @@ rc_cache.repo_object.expiration_time = 2 ; auto-renew lock to prevent stale locks, slower but safer. Use only if problems happen #rc_cache.repo_object.arguments.lock_auto_renewal = true -; Statsd client config +; Statsd client config, this is used to send metrics to statsd +; We recommend setting statsd_exported and scrape them using Promethues #statsd.enabled = false #statsd.statsd_host = 0.0.0.0 #statsd.statsd_port = 8125