Sentry sdk implementation for Masonite.
Project description
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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file masonite-sentry-0.0.3.tar.gz
.
File metadata
- Download URL: masonite-sentry-0.0.3.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9002e144a39b78856fc28ff98e9f2564c4a9451a15ec9373d223aa652e0a0b68 |
|
MD5 | 555dc00e3cc1c313857e63fe77f3cc5e |
|
BLAKE2b-256 | 36baad26221603878295c3b45bdd324aa90326c83e038ef840dc1c5dfaa77b1e |
File details
Details for the file masonite_sentry-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: masonite_sentry-0.0.3-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64d1cbfee47406435593e7e41eafbfe5f7c992662477eb341c166b8e73251689 |
|
MD5 | 2513cf0652efbf91650f073758579844 |
|
BLAKE2b-256 | f921ba3ed558e49aff98a775c559d93619f923ee5e3bdb0241a8425197c81f5e |