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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for masonite-sentry-0.0.3.tar.gz
Algorithm Hash digest
SHA256 9002e144a39b78856fc28ff98e9f2564c4a9451a15ec9373d223aa652e0a0b68
MD5 555dc00e3cc1c313857e63fe77f3cc5e
BLAKE2b-256 36baad26221603878295c3b45bdd324aa90326c83e038ef840dc1c5dfaa77b1e

See more details on using hashes here.

File details

Details for the file masonite_sentry-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for masonite_sentry-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 64d1cbfee47406435593e7e41eafbfe5f7c992662477eb341c166b8e73251689
MD5 2513cf0652efbf91650f073758579844
BLAKE2b-256 f921ba3ed558e49aff98a775c559d93619f923ee5e3bdb0241a8425197c81f5e

See more details on using hashes here.

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