mirror of
https://github.com/christianselig/apollo-backend
synced 2024-12-26 00:05:28 +00:00
send a notification event to datadog
This commit is contained in:
parent
9db593a969
commit
a5e7417f6e
1 changed files with 2 additions and 0 deletions
|
@ -353,6 +353,8 @@ func (nc *notificationsConsumer) Consume(delivery rmq.Delivery) {
|
|||
}
|
||||
}
|
||||
|
||||
nc.statsd.SimpleEvent("Sent notification", account.Username)
|
||||
|
||||
nc.logger.WithFields(logrus.Fields{
|
||||
"accountID": delivery.Payload(),
|
||||
}).Debug("finishing job")
|
||||
|
|
Loading…
Reference in a new issue