mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-25 13:17:42 +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{
|
nc.logger.WithFields(logrus.Fields{
|
||||||
"accountID": delivery.Payload(),
|
"accountID": delivery.Payload(),
|
||||||
}).Debug("finishing job")
|
}).Debug("finishing job")
|
||||||
|
|
Loading…
Reference in a new issue