AUTO-413: Point preview statsd at tools

- We are running a statsd exporter on tools to collect all our statsd
  metrics for scraping by Prometheus
- Update preview to point there instead of at the local one which has
  issues with redeployment and DNS changing
This commit is contained in:
Andy Paine
2019-05-30 17:03:08 +01:00
parent b0baf10229
commit e61619f3e0

View File

@@ -70,7 +70,7 @@ applications:
AWS_SECRET_ACCESS_KEY: '{{ AWS_SECRET_ACCESS_KEY }}' AWS_SECRET_ACCESS_KEY: '{{ AWS_SECRET_ACCESS_KEY }}'
{% if environment == 'preview' %} {% if environment == 'preview' %}
STATSD_HOST: "notify-statsd-exporter-{{ environment }}.apps.internal" STATSD_HOST: "statsd.notify.tools"
STATSD_PREFIX: "" STATSD_PREFIX: ""
{% else %} {% else %}
STATSD_HOST: "statsd.hostedgraphite.com" STATSD_HOST: "statsd.hostedgraphite.com"