errorship-0.0.7b0
توضیحات
Send exceptions to datadog.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | errorship-0.0.7b0 |
| نام | errorship |
| نسخه کتابخانه | 0.0.7b0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | errorship.com |
| ایمیل نویسنده | errorship.com@gmail.com |
| آدرس صفحه اصلی | https://errorship.com/ |
| آدرس اینترنتی | https://pypi.org/project/errorship/ |
| مجوز | https://gitlab.com/errorship/errorship_python/-/blob/master/LICENSE |
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 <https://errorship.com/documentation.html>`__
Installation
------------
.. code:: shell
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.
.. code:: python
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 <https://errorship.com/documentation.html>`__
Screenshots
-----------
Errors, exceptions, stacktraces and associated metadata as rendered in
datadog;
.. figure:: ./examples/screenshots/datadog_exception.png
:alt: errorship rendered exceptions in datadog
errorship rendered exceptions in datadog
.. figure:: ./examples/screenshots/tutorial-main-error.png
:alt: errorship rendered exceptions in datadog
errorship rendered exceptions in datadog
.. figure:: ./examples/screenshots/tutorial-search-by-tags.png
:alt: errorship rendered exceptions in datadog
errorship rendered exceptions in datadog
.. figure:: ./examples/screenshots/tutorial-search-by-text.png
:alt: errorship rendered exceptions in datadog
errorship rendered exceptions in datadog
.. |Code style: black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://gitlab.com/errorship/errorship_python
.. |python versions| image:: https://img.shields.io/badge/python-2.7%20%7C%203.*-blue
:target: https://img.shields.io/badge/python-2.7%20%7C%203.*-blue
.. |codecov| image:: https://codecov.io/gl/errorship/errorship_python/branch/master/graph/badge.svg?token=bTRTSMv0ji
:target: https://gitlab.com/errorship/errorship_python
.. |pipeline status| image:: https://gitlab.com/errorship/errorship_python/badges/master/pipeline.svg
:target: https://gitlab.com/errorship/errorship_python/-/commits/master
نیازمندی
| مقدار | نام |
|---|---|
| ==2.2.2 | Sphinx |
| ==1.5 | pypandoc |
| ==1.10.3 | sphinx-autodoc-typehints |
| ==0.4.3 | sphinx-rtd-theme |
| ==3.1.1 | twine |
| ==0.33.6 | wheel |
| ==1.11 | django |
| ==1.1 | flask |
| - | coverage |
| - | flake8 |
| - | mock |
| - | pylint |
| - | bandit |
| - | black |
| - | coverage |
| - | flake8 |
| - | mock |
| - | mypy |
| - | pylint |
| - | pytype |
نحوه نصب
نصب پکیج whl errorship-0.0.7b0:
pip install errorship-0.0.7b0.whl
نصب پکیج tar.gz errorship-0.0.7b0:
pip install errorship-0.0.7b0.tar.gz