2

Are there any solutions around, for sending error reports from tornado to sentry? Or any similar error logging systems for tornado?

2 Answers 2

4

The standard Sentry clientRaven does support Tornado.

The Sentry DSN matches:
{PROTOCOL}://{PUBLIC_KEY}:{SECRET_KEY}@{HOST}/{PATH}{PROJECT_ID}

Note: Protocol may also contain transporter type: gevent+http, gevent+https, twisted+http, tornado+http

This basically means that it will use standard Sentry HTTP protocol, but using Tornado's AsyncHTTPClient to perform the request.

Note however, that it does not (as of now) support HTTPS, only unencrypted HTTP.

0
4

The support for tornado has been added to Raven in a fork at https://github.com/openlabs/raven

A detailed documentation on how to proceed for the same can be found at https://github.com/openlabs/raven/blob/master/docs/config/tornado.rst

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.