https://github.com/pyapp-org/pyapp.rollbar
🐛 Rollbar integration with pyApp
https://github.com/pyapp-org/pyapp.rollbar
Last synced: about 2 months ago
JSON representation
🐛 Rollbar integration with pyApp
- Host: GitHub
- URL: https://github.com/pyapp-org/pyapp.rollbar
- Owner: pyapp-org
- License: other
- Created: 2020-06-23T03:05:53.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-17T22:33:01.000Z (over 2 years ago)
- Last Synced: 2025-01-16T13:26:52.112Z (over 1 year ago)
- Language: Python
- Size: 32.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
###############
pyApp - Rollbar
###############
*Let us handle the boring stuff!*
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/ambv/black
:alt: Once you go Black...
Integration with Rollbar_ error tracking. The extension provides the following
features.
Initialise Client
On startup of the application the client is configured ready for use.
Top-Level Error Reporting
Register a top level exception handler to catch any exceptions that are not
handled by the application
.. _Rollbar: https://rollbar.com/
Installation
============
Install using *pip*::
pip install pyapp.rollbar
Configuration
-------------
Settings can be provided in one of two ways, via the `ROLLBAR` settings key or
via the `ROLLBAR_ACCESS_TOKEN` and `ENVIRONMENT` environment variables.
Usage
=====
Rollbar itself is a singleton available from the `rollbar` module. eg
.. code-block:: python
import rollbar
rollbar.report_message("Hi!")