Send exceptions to datadog.
Project description
errorship
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
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;
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for errorship-0.0.7b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cbfc1dd859e3d9a51f6bb217908de3cab2b8b0b46ee88d9bfc18eab1add9a44 |
|
MD5 | 79e80c6469d39497e73cb685b558b7bb |
|
BLAKE2b-256 | 2e60afa161207390d66314007c480a6d7aa3dd056c4fecd52fea73ccb0f3aa85 |