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.
This commit is contained in:
Athanasios Voutsadakis
2019-08-14 11:42:13 +01:00
parent b07944d9f5
commit cd936d2e71
2 changed files with 1 additions and 6 deletions

View File

@@ -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 }}'

View File

@@ -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