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.

Source Distribution

errorship-0.0.7b0.tar.gz (11.5 kB view hashes)

Uploaded Source

Built Distribution

errorship-0.0.7b0-py3-none-any.whl (11.9 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