mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 02:11:11 -05:00
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:
@@ -129,7 +129,6 @@ def send_email_to_provider(notification):
|
|||||||
update_notification_to_sending(notification, provider)
|
update_notification_to_sending(notification, provider)
|
||||||
|
|
||||||
delta_seconds = (datetime.utcnow() - notification.created_at).total_seconds()
|
delta_seconds = (datetime.utcnow() - notification.created_at).total_seconds()
|
||||||
statsd_client.timing("email.total-time", delta_seconds)
|
|
||||||
|
|
||||||
if notification.key_type == KEY_TYPE_TEST:
|
if notification.key_type == KEY_TYPE_TEST:
|
||||||
statsd_client.timing("email.test-key.total-time", delta_seconds)
|
statsd_client.timing("email.test-key.total-time", delta_seconds)
|
||||||
|
|||||||
Reference in New Issue
Block a user