From a8f046acb66a8da911a682623151e6780c40b3bb Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Wed, 26 Oct 2022 21:08:22 -0400 Subject: [PATCH] fix the notification metric for live activities --- internal/worker/live_activities.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/worker/live_activities.go b/internal/worker/live_activities.go index 0b0edde..eb7c448 100644 --- a/internal/worker/live_activities.go +++ b/internal/worker/live_activities.go @@ -314,7 +314,7 @@ func (lac *liveActivitiesConsumer) Consume(delivery rmq.Delivery) { _ = lac.liveActivityRepo.Delete(ctx, at) } else { - _ = lac.statsd.Incr("apns.live_activities.sent", []string{}, 1) + _ = lac.statsd.Incr("apns.notification.sent", []string{}, 1) lac.logger.Info("sent notification", zap.String("live_activity#apns_token", at), )