Hello,

On Monday 09 January 2017 00:53:13 Nacharov Mikhail wrote:

> I have a high load production site. If I make a mistake (some users
> getting 500 error) all ADMINS will be receiving error emails until
> bug won't be fixed.
> This causes email server load and it's quite annoying reading thouse
> idetical emails sometimes. It's also possible to miss anouther error
> report inside a bunch of identical..
> 
> Did somebody know how to decrease amount of identical Email reports?
> <https://docs.djangoproject.com/en/1.10/howto/error-reporting/#email-r
> eports> Maybe set some timeout for the same message subject would be
> correct decision?

Think about this for a sec. One WSGI process (thread) does nothing else but 
handle 
request that comes in, and send the response. How is it supposed to know about 
the 
other requests/responses?

> Maybe there is a better way for monitor web server events?

Plenty. You can get very close to the stack:
http://uwsgi-docs.readthedocs.io/en/latest/LogEncoders.html

To full 3rd-party:
https://docs.newrelic.com/docs/alerts/new-relic-alerts/

There's an entire industry section devoted to this kind of thing. It's best to 
look there 
and not in the web framework. Chances are your admins already have some sort of 
monitoring in place, so look for something that ties in (can be tied in) with 
that.
-- 
Melvyn Sopacua

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7745479.Kx6tzrpK73%40devstation.
For more options, visit https://groups.google.com/d/optout.

Reply via email to