Hi

Has anybody on the list implemented a solution to send uWSGI errors and
events to Sentry?

I have a Nginx->uWSGI->Flask stack.
The Flask apps log to Sentry via the raven module.
uWSGI logs to a singular log file for the Emperor, and separate log files
per Flask app vassal.

What I would like to be able to do is send Emperor and Vassal uWSGI events
to Sentry.
By event I mean restarts, mode changes and errors.

I think the basic building blocks are available for a zeromq bridge based
solution in,
http://uwsgi-docs.readthedocs.org/en/latest/Options.html#log-zeromq
and
https://github.com/getsentry/raven-python/tree/master/raven/contrib/transports/zeromq
With the event structure being described here,
http://raven.readthedocs.org/en/latest/usage.html


I thought I would ask the list if a raven-uwsgi type solution already
existed before I have a look at cobbling a solution together myself.

Thanks

Dave
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to