{"repo":"airbrake/pybrake","free":true,"listed":false,"github":"https://github.com/airbrake/pybrake","clone":"git clone https://github.com/airbrake/pybrake.git","description":"Python exception notifier for Airbrake","language":"Python","stars":39,"topics":["python","python3","airbrake","notifier","error-reporting","logging","crash","crash-reporting","monitoring"],"license":null,"category":"analytics","readme_excerpt":"Python exception notifier for Airbrake Installation pybrake requires Python 3.6+. Configuration You must set both project id & project key . To find your project id and project key navigate to your project's Settings and copy the values from the right sidebar. ![project-idkey] Sending errors to Airbrake Sending errors synchronously By default, the notify function sends errors asynchronously using ThreadPoolExecutor and returns a concurrent.futures.Future , a synchronous API is also made available with the notify sync function: Adding custom params To set custom params you can build and send notice in separate steps: You can also add custom params to every error notice before it's sent to Airbrake with the add filter function. Ignoring notices There may be some notices/errors thrown in your application that you're not interested in sending to Airbrake, you can ignore these using the add filter function. Filtering keys With keys blocklist option you can specify list of keys containing sensitive information that must be filtered out, e.g.: Logging integration pybrake provides a logging handler that sends your logs to Airbrake. Disabling pybrake logs The pybrake logger can be silenced by setting the logging level to logging.CRITICAL . Sending route stats notifier.routes.notify allows sending route stats to Airbrake. The library provides integrations with Django and Flask. (your routes are tracked automatically). You can also use this API manually: Sending route breakdowns notifie","default_branch":null,"files":null,"tree":[],"storefront":"/r/airbrake","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/airbrake/pybrake/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}