From b20fa0cac939abd703f162fa38946d3f900db245 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Thu, 15 Jul 2021 20:59:59 -0400 Subject: [PATCH] reformat event --- internal/worker/notifications.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/worker/notifications.go b/internal/worker/notifications.go index a259044..0fae770 100644 --- a/internal/worker/notifications.go +++ b/internal/worker/notifications.go @@ -353,7 +353,8 @@ func (nc *notificationsConsumer) Consume(delivery rmq.Delivery) { } } - nc.statsd.SimpleEvent("Sent notification", account.Username) + ev := fmt.Sprintf("Sent notification to /u/%s", account.Username) + nc.statsd.SimpleEvent(ev, "") nc.logger.WithFields(logrus.Fields{ "accountID": delivery.Payload(),