From 92c3170fe330c3f9550b850500f18c07a9195ffe Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 17 Jun 2020 17:31:36 +0100 Subject: [PATCH] Turn off statsd for the API in all environments We have seen bad latency across all apps in the last week. After running a canary with statsd turned off we have seen these issues dissapear on that canary instance. We therefore will turn off statsd for all instances of the API. We will still need to investigate tomorrow what exactly changed or is causing the issue with statsd as we hadn't made any changes to it ourself. Note, this keeps statsd on for all the other apps but this will be a first step. We will also need to check performance of the other apps after releasing this. --- app/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config.py b/app/config.py index 51604e791..3f9f65353 100644 --- a/app/config.py +++ b/app/config.py @@ -309,7 +309,7 @@ class Config(object): STATSD_HOST = os.getenv('STATSD_HOST') STATSD_PORT = 8125 - STATSD_ENABLED = bool(STATSD_HOST) + STATSD_ENABLED = False SENDING_NOTIFICATIONS_TIMEOUT_PERIOD = 259200 # 3 days