Final pass through existing statsd endpoints to ensure they match new naming strategy.

Updates accordingly.
This commit is contained in:
Martyn Inglis
2016-08-08 11:23:58 +01:00
parent 0fa614d812
commit fe54fa9f73
7 changed files with 15 additions and 15 deletions

View File

@@ -102,7 +102,7 @@ def process_ses_response():
)
)
statsd_client.incr('notifications.callback.ses.{}'.format(notification_statistics_status))
statsd_client.incr('callback.ses.{}'.format(notification_statistics_status))
return jsonify(
result="success", message="SES callback succeeded"
), 200
@@ -305,7 +305,6 @@ def send_notification(notification_type):
queue='email'
)
statsd_client.incr('notifications.api.{}'.format(notification_type))
return jsonify(
data=get_notification_return_data(
notification_id,