Sunday, August 30, 2015

Re: Notify Customer Support of Request Failures

add logging messages everywhere that matters, include any information relevant to you, then monitor the logs. the ELK stack is nice (https://www.elastic.co/products/logstash)

On Sun, Aug 30, 2015 at 7:49 AM, <murat.knecht@googlemail.com> wrote:
Hello,

I'd like to notify our customer support of certain errors. For example, if a sign up fails (a 500, for whatever reason), I want them to get a mail with as much information as possible about the customers and their request, so they can contact them and resolve the issue. Two questions about this:

AFAIK, the settings.MANAGERS are similar in nature: They're the ones administering the site, being notified of 404s using the BrokenLinkEmailsMiddleware. Are they *meant* to also get support mails, or what is their role exactly?

Is there an app, middleware or view decorator that will notify a group of ppl (either users in a group or a list of email addresses), when a certain status code / error occurs (e.g. 500, 400, 404) at certain views? I'd need the ability to customize the mail template to make sure that all information needed to act upon the issue is there.

Google search, searching the mailing list archives and the error-handling grid of Django-packages revealed nothing even close to what I am looking for.

Thank you for any pointers!

Cheers,
murat

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/22122da6-f5bb-47f0-99b7-2c674c39e2fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFWa6t%2BMULAb6rqtPxqptsy0%3DGTZfUFeJ3BMxzOUHBDK1QMQng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment