Skip to main content

Sentry sdk implementation for Masonite.

Project description

Masonite Package GitHub Workflow Status (branch) PyPI Python Version GitHub release (latest by date including pre-releases) License Code style: black

Masonite Sentry

Sentry sdk implementation for Masonite.

Installation

pip install masonite-sentry

Configuration

Add SentryProvider to your project in config/providers.py:

# config/providers.py
# ...
from sentry import SentryProvider

# ...
PROVIDERS = [
    # ...
    # Third Party Providers
    SentryProvider,
    # ...
]

Then you can publish the package resources (if needed) by doing:

python craft package:publish sentry

Usage

Setup environment variables in your project's .env file:

SENTRY_DSN=
SENTRY_SAMPLE_RATE=1.0

Well that's it, you are done, congrats.

Note: Sentry captures no any exceptions if you are on debug mode.

Contributing

Please read the Contributing Documentation here.

Maintainers

License

Masonite Sentry is open-sourced software licensed under the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

masonite-sentry-0.0.3.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

masonite_sentry-0.0.3-py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page