I could add sentry support, but first we should move exceptions handling forward. So far, every time I want to make some planning around it I get stuck, I'll try to work on it this week.
2013/6/10 Roberto De Ioris <[email protected]> > > > 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 > > > > We are working on the "exceptions" framework. Its main purpose will be > sending exceptions to external systems. > > Currently there is the "airbrake" (a sentry equivalente for the ruby > world) plugin already available but it only support the "alarm" framework. > > More will come soon. > > In the mean time i suppose you can use the "python" logger to send event > via python-raven. > > To enable the python logger just define a logger class in your WSGI class > and than add > > --logger python: > > for the default logger > > --logger python:foobar > > the the "foobar" one > > -- > Roberto De Ioris > http://unbit.it > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi > -- Łukasz Mierzwa
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
