From 8400c0f34e71be1a64a3ec985110b55be11b5246 Mon Sep 17 00:00:00 2001 From: Guewen Baconnier Date: Fri, 4 Nov 2016 13:39:50 +0100 Subject: [PATCH] Set statsd customer --- monitoring_statsd/statsd_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/monitoring_statsd/statsd_client.py b/monitoring_statsd/statsd_client.py index 4503915..d67f08c 100644 --- a/monitoring_statsd/statsd_client.py +++ b/monitoring_statsd/statsd_client.py @@ -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'):