From e5fa90cf046aaeaeece48c357b5300217f04598d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Casaj=C3=BAs?= Date: Thu, 24 Mar 2022 12:51:58 +0100 Subject: [PATCH] Rename newrelic dmarc event --- email_handler.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/email_handler.py b/email_handler.py index 7af90060..9015656a 100644 --- a/email_handler.py +++ b/email_handler.py @@ -544,9 +544,7 @@ def apply_dmarc_policy( ) -> Optional[str]: dmarc_result = get_dmarc_status(msg) if dmarc_result: - newrelic.agent.record_custom_event( - "Custom/dmarc_check", {"result": dmarc_result.name} - ) + newrelic.agent.record_custom_event("DmarcCheck", {"result": dmarc_result.name}) if not DMARC_CHECK_ENABLED or not dmarc_result: return None