mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -05:00
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:
@@ -69,13 +69,8 @@ applications:
|
|||||||
AWS_ACCESS_KEY_ID: '{{ AWS_ACCESS_KEY_ID }}'
|
AWS_ACCESS_KEY_ID: '{{ AWS_ACCESS_KEY_ID }}'
|
||||||
AWS_SECRET_ACCESS_KEY: '{{ AWS_SECRET_ACCESS_KEY }}'
|
AWS_SECRET_ACCESS_KEY: '{{ AWS_SECRET_ACCESS_KEY }}'
|
||||||
|
|
||||||
{% if environment in ['preview', 'staging'] %}
|
|
||||||
STATSD_HOST: "notify-statsd-exporter-{{ environment }}.apps.internal"
|
STATSD_HOST: "notify-statsd-exporter-{{ environment }}.apps.internal"
|
||||||
STATSD_PREFIX: ""
|
STATSD_PREFIX: ""
|
||||||
{% else %}
|
|
||||||
STATSD_HOST: "statsd.hostedgraphite.com"
|
|
||||||
STATSD_PREFIX: '{{ STATSD_PREFIX }}'
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
ZENDESK_API_KEY: '{{ ZENDESK_API_KEY }}'
|
ZENDESK_API_KEY: '{{ ZENDESK_API_KEY }}'
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
# Putting upgrade on hold due to v1.0.0 using sha512 instead of sha1 by default
|
||||||
itsdangerous==0.24 # pyup: <1.0.0
|
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
|
git+https://github.com/alphagov/boto.git@2.43.0-patch3#egg=boto==2.43.0-patch3
|
||||||
|
|||||||
Reference in New Issue
Block a user