From cd936d2e718152bbc5b2040e0730b879fd73b4e4 Mon Sep 17 00:00:00 2001 From: Athanasios Voutsadakis Date: Wed, 14 Aug 2019 11:42:13 +0100 Subject: [PATCH] Enable statsd exporter for production Also bump the utils version to include a fix on the error handling logic when we fail to send a metric. --- manifest.yml.j2 | 5 ----- requirements-app.txt | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/manifest.yml.j2 b/manifest.yml.j2 index ad2517bdb..66600a23b 100644 --- a/manifest.yml.j2 +++ b/manifest.yml.j2 @@ -69,13 +69,8 @@ applications: AWS_ACCESS_KEY_ID: '{{ AWS_ACCESS_KEY_ID }}' AWS_SECRET_ACCESS_KEY: '{{ AWS_SECRET_ACCESS_KEY }}' - {% if environment in ['preview', 'staging'] %} STATSD_HOST: "notify-statsd-exporter-{{ environment }}.apps.internal" STATSD_PREFIX: "" - {% else %} - STATSD_HOST: "statsd.hostedgraphite.com" - STATSD_PREFIX: '{{ STATSD_PREFIX }}' - {% endif %} ZENDESK_API_KEY: '{{ ZENDESK_API_KEY }}' diff --git a/requirements-app.txt b/requirements-app.txt index eab493343..a87eb2ed8 100644 --- a/requirements-app.txt +++ b/requirements-app.txt @@ -29,6 +29,6 @@ awscli-cwlogs>=1.4,<1.5 # Putting upgrade on hold due to v1.0.0 using sha512 instead of sha1 by default itsdangerous==0.24 # pyup: <1.0.0 -git+https://github.com/alphagov/notifications-utils.git@33.2.8#egg=notifications-utils==33.2.8 +git+https://github.com/alphagov/notifications-utils.git@33.2.9#egg=notifications-utils==33.2.9 git+https://github.com/alphagov/boto.git@2.43.0-patch3#egg=boto==2.43.0-patch3