Skip to main content

Sends exceptions in Kuyruk workers to Sentry.

Project description

Kuyruk-Sentry

Sends exceptions in Kuyruk workers to Sentry.

Install

$ pip install kuyruk-sentry

Usage

from kuyruk import Kuyruk, Config
from kuyruk_sentry import Sentry
import sentry_sdk

sentry_sdk.init(dsn="...")  # configure Sentry

config = Config()
kuyruk = Kuyruk(config)

s = Sentry(kuyruk)

@kuyruk.task
def oops():
    1/0  # exception will be sent to Sentry

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

Kuyruk-Sentry-1.1.5.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

Kuyruk_Sentry-1.1.5-py3-none-any.whl (3.2 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