reformat event

This commit is contained in:
Andre Medeiros 2021-07-15 20:59:59 -04:00
parent a5e7417f6e
commit b20fa0cac9

View file

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