* Log to DataDog when a welcome notification is created * Fix typo in Metrics::RecordDailyUsageWorker * Add Metrics::RecordDailyNotificationsWorker to log notification counts to DataDog * Add specs around DataDog logging for welcome notifications + click events * Call Metrics::RecordDailyNotificationsWorker from within log_daily_usage_measurables task * Use user_id instead of user, move notification title into tags
12 lines
360 B
Ruby
12 lines
360 B
Ruby
task record_data_counts: :environment do
|
|
Metrics::RecordDataCountsWorker.perform_async
|
|
end
|
|
|
|
task log_worker_queue_stats: :environment do
|
|
Metrics::RecordBackgroundQueueStatsWorker.perform_async
|
|
end
|
|
|
|
task log_daily_usage_measurables: :environment do
|
|
Metrics::RecordDailyUsageWorker.perform_async
|
|
Metrics::RecordDailyNotificationsWorker.perform_async
|
|
end
|