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
This commit is contained in:
David McDonald
2020-11-30 15:12:13 +00:00
parent b1336c97a4
commit 988c3a335a

View File

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