Fix newrelic test

This commit is contained in:
Adrià Casajús 2024-09-02 17:23:51 +02:00
parent 5b0fd3cee4
commit 1fb2e8f01c
No known key found for this signature in database
GPG key ID: F0033226A5AFC9B9

View file

@ -68,7 +68,7 @@ class EventDispatcher:
serialized = event.SerializeToString()
dispatcher.send(serialized)
newrelic.agent.record_custom_event("event_stored")
newrelic.agent.record_custom_metric("Custom/events_stored", 1)
LOG.i("Sent event to the dispatcher")
@staticmethod