mirror of
https://github.com/simple-login/app.git
synced 2024-11-13 07:31:12 +01:00
Merge pull request #853 from acasajus/newrelic-event
Rename newrelic dmarc event
This commit is contained in:
commit
2a4d2d723b
1 changed files with 1 additions and 3 deletions
|
@ -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 a new issue