Skip to main content

Send exceptions to datadog.

Project description

errorship

Code style: black
python versions
codecov
pipeline status
errorship is a python library that sends exceptions/errors generated by your application to your datadog account.
The exceptions together with their stacktraces are then rendered beatifully with proper syntax highlighting preserved.
You can search for exceptions in datadog using the tags that you had set or via full text search.
Are you tired of looking at metrics in datadog and then switching over to another website to track your applications exceptions?
Try `errorship <https://errorship.com>`__
errorship has no third-party dependencies.
It works in both Python 2 & python 3

Click here for Documentation

Installation

pip install errorship

Usage

Add the following piece of code at a place where it can be executed very early at the startup of your application.
Such a place can be in an __init__.py file or at the top of your main.py file.
import errorship

errorship.setup(
    datadog_agent_host="localhost",
    datadog_agent_port=8125,
    errorship_license_key="MyErrorshipLicenseKey",
    tags={
        # this tags will be added to the errors/exceptions
        # that are sent to datadog
        "env": "production",
        "project": "accounting",
        "deployment_version": "v12.56"
    }
)

More documentation is available

Screenshots

Errors, exceptions, stacktraces and associated metadata as rendered in datadog;

errorship rendered exceptions in datadog

errorship rendered exceptions in datadog

errorship rendered exceptions in datadog

errorship rendered exceptions in datadog

errorship rendered exceptions in datadog

errorship rendered exceptions in datadog

errorship rendered exceptions in datadog

errorship rendered exceptions in datadog

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for errorship, version 0.0.7b0
Filename, size File type Python version Upload date Hashes
Filename, size errorship-0.0.7b0-py3-none-any.whl (11.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size errorship-0.0.7b0.tar.gz (11.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page