From 988c3a335a282285f523afeb48d080fdaaeac745 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 30 Nov 2020 15:12:13 +0000 Subject: [PATCH] Remove old metric for delivery sending times We no longer need a metric that covers both test and live keys as this is not useful --- app/delivery/send_to_providers.py | 1 - 1 file changed, 1 deletion(-) diff --git a/app/delivery/send_to_providers.py b/app/delivery/send_to_providers.py index 11ab3bc2a..8d8d953c1 100644 --- a/app/delivery/send_to_providers.py +++ b/app/delivery/send_to_providers.py @@ -129,7 +129,6 @@ def send_email_to_provider(notification): update_notification_to_sending(notification, provider) delta_seconds = (datetime.utcnow() - notification.created_at).total_seconds() - statsd_client.timing("email.total-time", delta_seconds) if notification.key_type == KEY_TYPE_TEST: statsd_client.timing("email.test-key.total-time", delta_seconds)