Set statsd customer

This commit is contained in:
Guewen Baconnier
2016-11-04 13:39:50 +01:00
parent f643c19fba
commit 8400c0f34e
+1
View File
@@ -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'):