All Projects → serathius → sanic-sentry

serathius / sanic-sentry

Licence: MIT License
Sentry integration to sanic web server

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to sanic-sentry

good-sentry
Sentry broadcasting for good process monitor
Stars: ✭ 15 (-51.61%)
Mutual labels:  sentry, raven
sentry-testkit
A Sentry plugin to allow Sentry report interception and further inspection of the data being sent
Stars: ✭ 78 (+151.61%)
Mutual labels:  sentry, raven
Sentry Javascript
Official Sentry SDKs for JavaScript. We're hiring https://grnh.se/ca81c1701us
Stars: ✭ 6,012 (+19293.55%)
Mutual labels:  sentry, raven
send-test-info
Attach unit test information to exceptions sent by Raven to Sentry
Stars: ✭ 17 (-45.16%)
Mutual labels:  sentry, raven
raven-python-lambda
Sentry/Raven SDK Integration For AWS Lambda (python) and Serverless
Stars: ✭ 48 (+54.84%)
Mutual labels:  sentry, raven
zend-sentry
A Zend Framework 3 module that lets you log to the Sentry.io service.
Stars: ✭ 34 (+9.68%)
Mutual labels:  sentry, raven
aiohttp-sentry
An aiohttp server middleware for reporting failed requests to Sentry
Stars: ✭ 35 (+12.9%)
Mutual labels:  sentry, raven
redux-sentry
Middleware that logs all your store and actions on exception to Sentry with raven-js
Stars: ✭ 13 (-58.06%)
Mutual labels:  sentry, raven
monolog-sentry-handler
Monolog handler for Sentry PHP SDK v2 with breadcrumbs support
Stars: ✭ 34 (+9.68%)
Mutual labels:  sentry
nextcloud sentry
Sentry integration for Nextcloud
Stars: ✭ 26 (-16.13%)
Mutual labels:  sentry
NodeJS Mongo BoilerPlate
CRUD Blog using NodeJS,Express, MongoDB
Stars: ✭ 18 (-41.94%)
Mutual labels:  sentry
sentry-horn
Swift based sentry iOS application
Stars: ✭ 15 (-51.61%)
Mutual labels:  sentry
typescript-nuxtjs-boilerplate
🍱 Nuxt.js with TypeScript and Run with docker and docker-compose 🐶🦄🔥 visit: https://typescript-nuxtjs-boilerplate.netlify.com/example
Stars: ✭ 51 (+64.52%)
Mutual labels:  sentry
instdd
Instagram Photos Download - Save Instagram photos and videos online
Stars: ✭ 16 (-48.39%)
Mutual labels:  sanic
simple-image-classifier
Simple image classifier microservice using tensorflow and sanic
Stars: ✭ 22 (-29.03%)
Mutual labels:  sanic
sentry-prometheus
Export hosted sentry statsd metrics to prometheus
Stars: ✭ 22 (-29.03%)
Mutual labels:  sentry
nest
Raven's package manager
Stars: ✭ 22 (-29.03%)
Mutual labels:  raven
self-hosted
Sentry, feature-complete and packaged up for low-volume deployments and proofs-of-concept
Stars: ✭ 5,034 (+16138.71%)
Mutual labels:  sentry
sentry
Mirror of Apache Sentry
Stars: ✭ 114 (+267.74%)
Mutual labels:  sentry
asgi-correlation-id
Request ID propagation for ASGI apps
Stars: ✭ 83 (+167.74%)
Mutual labels:  sentry

Sanic-Sentry

Sanic-Sentry -- Sentry integration to sanic web server.

https://travis-ci.org/serathius/sanic-sentry.svg?branch=master

Requirements

  • python >= 3.6

Installation

Sanic-Sentry should be installed using pip:

pip install sanic-sentry

Usage

To initialize plugin you can pass 'app' to __init__:

>>> from sanic import Sanic
>>> from sanic_sentry import SanicSentry
>>> app = Sanic(__name__)
>>> plugin = SanicSentry(app)

Or use init_app to reverse dependency:

>>> plugin = SanicSentry()
>>> plugin.init_app(app)

Optional parameters:

SENTRY_DSN - Sentry DSN for your application:

If not set raven will fallback to SENTRY_DSN environment variable. Not setting either will disable raven.

>>> app.config['SENTRY_DSN'] = 'http://public:[email protected]/1'

SENTRY_PARAMS - Configure advanced parameters for sentry:

Explained in https://docs.sentry.io/clients/python/advanced/

>>> app.config['SENTRY_PARAMS'] = {
...     "release": "myapp_v0.4",
...     "environment": "production",
... }
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].