mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-23 18:04:34 +00:00
Set statsd customer
This commit is contained in:
@@ -34,6 +34,7 @@ if statsd_active and statsd is None and StatsClient is not None:
|
||||
raise Exception(
|
||||
'STATSD_CUSTOMER must contain the name of the customer'
|
||||
)
|
||||
customer = os.environ.get('STATSD_CUSTOMER')
|
||||
if os.environ.get('STATSD_ENVIRONMENT'):
|
||||
environment = os.environ['STATSD_ENVIRONMENT']
|
||||
elif config.get('running_env'):
|
||||
|
||||
Reference in New Issue
Block a user