fix the notification metric for live activities

This commit is contained in:
Andre Medeiros 2022-10-26 21:08:22 -04:00
parent 561312f131
commit a8f046acb6

View file

@ -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),
)