Skip to content

danielchatfield/raven-appengine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raven-appengine

In the interest of avoiding confusion, this repo is related to the client library for getsentry.com (named raven) not the authentication protocol for Cambridge University with the same name.

raven-appengine is an appengine optimised Transport for the raven-python client. It supports asynchronous sending of messages using Google's deferred library.

Usage

  • Make sure your dsn uses one of the special protocols: appengine+http or appengine+https.
  • Enable deferred in your app.yaml
builtins:
- deferred: on
  • Define the sentry queue in queue.yaml
queue:
- name: sentry
  rate: 5/s
  • Register the transport before setting up the Sentry instance.
from raven_appengine import register_transport

register_transport()

# register sentry as usual

Limitations

Always calls the success callback, even if it fails. This is not a very big issue as appengine automatically retries failed attempts. Failed attempts still raise an exception that is logged to the appengine logger so it doesn't fail silently.

License

Copyright (c) 2013 Daniel Chatfield. Licensed under the MIT license.

About

A raven Transport that supports asynchronous requests on AppEngine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages