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 details)

Uploaded Source

Built Distribution

errorship-0.0.7b0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file errorship-0.0.7b0.tar.gz.

File metadata

  • Download URL: errorship-0.0.7b0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

File hashes

Hashes for errorship-0.0.7b0.tar.gz
Algorithm Hash digest
SHA256 e1e65f9da3e8d108089ee93d59e41bcf3d9cbea025c67842eece7cc380c1150a
MD5 8244392e85b1ec470ddcf2858a919128
BLAKE2b-256 a9fbcb1b0227f54a82e3b343ea14ce1ef4abab500d998b8a2b42336b1dacaf2a

See more details on using hashes here.

File details

Details for the file errorship-0.0.7b0-py3-none-any.whl.

File metadata

  • Download URL: errorship-0.0.7b0-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

File hashes

Hashes for errorship-0.0.7b0-py3-none-any.whl
Algorithm Hash digest
SHA256 3cbfc1dd859e3d9a51f6bb217908de3cab2b8b0b46ee88d9bfc18eab1add9a44
MD5 79e80c6469d39497e73cb685b558b7bb
BLAKE2b-256 2e60afa161207390d66314007c480a6d7aa3dd056c4fecd52fea73ccb0f3aa85

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page