Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aioworkers/aioworkers-sentry
Sentry plugin for aioworkers
https://github.com/aioworkers/aioworkers-sentry
aioworkers python sentry
Last synced: about 1 month ago
JSON representation
Sentry plugin for aioworkers
- Host: GitHub
- URL: https://github.com/aioworkers/aioworkers-sentry
- Owner: aioworkers
- License: apache-2.0
- Created: 2019-02-12T12:41:36.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-27T13:52:15.000Z (about 2 months ago)
- Last Synced: 2024-10-27T15:11:49.026Z (about 2 months ago)
- Topics: aioworkers, python, sentry
- Language: Python
- Homepage:
- Size: 101 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
aioworkers-sentry
=================.. image:: https://img.shields.io/pypi/v/aioworkers-sentry.svg
:target: https://pypi.org/project/aioworkers-sentry.. image:: https://github.com/aioworkers/aioworkers-sentry/workflows/Tests/badge.svg
:target: https://github.com/aioworkers/aioworkers-sentry/actions?query=workflow%3ATests.. image:: https://codecov.io/gh/aioworkers/aioworkers-sentry/branch/master/graph/badge.svg
:target: https://codecov.io/gh/aioworkers/aioworkers-sentry
:alt: Coverage.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v0.json
:target: https://github.com/charliermarsh/ruff
:alt: Code style: ruff.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: Code style: black.. image:: https://img.shields.io/badge/types-Mypy-blue.svg
:target: https://github.com/python/mypy
:alt: Code style: Mypy.. image:: https://readthedocs.org/projects/aioworkers-sentry/badge/?version=latest
:target: https://github.com/aioworkers/aioworkers-sentry#readme
:alt: Documentation Status.. image:: https://img.shields.io/pypi/pyversions/aioworkers-sentry.svg
:target: https://pypi.org/project/aioworkers-sentry
:alt: Python versions.. image:: https://img.shields.io/pypi/dm/aioworkers-sentry.svg
:target: https://pypi.org/project/aioworkers-sentry.. image:: https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg
:alt: Hatch project
:target: https://github.com/pypa/hatchaioworkers plugin to work with Sentry. Creates Sentry client and handler according configuration
and setup logging.Usage
-----Install plugin:
.. code-block:: shell
pip install aioworkers-sentry
Add to your config:
.. code-block:: yaml
sentry:
dsn:
release: 1.0.0
environment: DEV
integrations:
- sentry_sdk.integrations.aiohttp.AioHttpIntegrationDevelopment
-----------Check code:
.. code-block:: shell
hatch run lint:all
Format code:
.. code-block:: shell
hatch run lint:fmt
Run tests:
.. code-block:: shell
hatch run pytest
Run tests with coverage:
.. code-block:: shell
hatch run cov