mirror of
https://github.com/simple-login/app.git
synced 2024-09-28 20:51:29 +02:00
Merge pull request #853 from acasajus/newrelic-event
Rename newrelic dmarc event
This commit is contained in:
commit
2a4d2d723b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user