Added stats annotation to a few more methods to track which methods need to be improved to increase billing performance

This commit is contained in:
Richard Chapman
2017-09-22 12:22:40 +01:00
parent 4b99d6bb7a
commit a77c316d2f
2 changed files with 3 additions and 0 deletions

View File

@@ -105,6 +105,7 @@ def is_between(date, start_date, end_date):
return start_date <= date <= end_date
@statsd(namespace="dao")
def billing_data_per_month_query(rate, service_id, start_date, end_date, notification_type):
month = get_london_month_from_utc_column(NotificationHistory.created_at)
if notification_type == SMS_TYPE: