mirror of
https://github.com/simple-login/app.git
synced 2024-11-13 07:31:12 +01:00
add "Custom/number_incoming_email" in newrelic
This commit is contained in:
parent
98b472d925
commit
7bb54e1e8e
1 changed files with 3 additions and 0 deletions
|
@ -1945,6 +1945,9 @@ class MailHandler:
|
|||
newrelic.agent.record_custom_metric(
|
||||
"Custom/email_handler_time", elapsed, newrelic_app
|
||||
)
|
||||
newrelic.agent.record_custom_metric(
|
||||
"Custom/number_incoming_email", 1, newrelic_app
|
||||
)
|
||||
return ret
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue