Giter Site home page Giter Site logo

aldomatus / sentry-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from getsentry/sentry-python

0.0 0.0 0.0 10.49 MB

The new Python SDK for Sentry.io

Home Page: https://sentry.io/for/python/

License: BSD 2-Clause "Simplified" License

Python 99.58% Shell 0.21% Makefile 0.19% HTML 0.01%

sentry-python's Introduction

Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us Check out our open positions

Official Sentry SDK for Python

Build Status PyPi page link -- version Discord

This is the official Python SDK for Sentry


Migrate From sentry-raven

The old raven-python client has entered maintenance mode and was moved here.

If you're using raven-python, we recommend you to migrate to this new SDK. You can find the benefits of migrating and how to do it in our migration guide.

Getting Started

Install

pip install --upgrade sentry-sdk

Configuration

import sentry_sdk

sentry_sdk.init(
    "https://[email protected]/1",

    # Set traces_sample_rate to 1.0 to capture 100%
    # of transactions for performance monitoring.
    # We recommend adjusting this value in production.
    traces_sample_rate=1.0,
)

Usage

from sentry_sdk import capture_message
capture_message("Hello World")  # Will create an event in Sentry.

raise ValueError()  # Will also create an event in Sentry.

Integrations

Contributing to the SDK

Please refer to CONTRIBUTING.md.

Getting help/support

If you need help setting up or configuring the Python SDK (or anything else in the Sentry universe) please head over to the Sentry Community on Discord. There is a ton of great people in our Discord community ready to help you!

Resources

  • Documentation
  • Forum
  • Discord
  • Stack Overflow
  • Twitter Follow

License

Licensed under the BSD license, see LICENSE

sentry-python's People

Contributors

abhiprasad avatar ahmedetefy avatar alexmojaki avatar antonpirker avatar beezz avatar bluetech avatar byk avatar cclauss avatar christophe31 avatar crepererum avatar dependabot-preview[bot] avatar dependabot[bot] avatar flyinbutrs avatar getsentry-bot avatar hazat avatar iker-barriocanal avatar intgr avatar kamilogorek avatar lobsterkatie avatar marshall-lee avatar michael-k avatar mitsuhiko avatar rdil avatar rhcarvalho avatar shantanu73 avatar shenek avatar sl0thentr0py avatar tonyo avatar untitaker avatar xavfernandez avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.