Metadata-Version: 1.1
Name: aioworkers-sentry
Version: 0.2.0
Summary: aioworkers plugin for Sentry 
Home-page: https://github.com/aioworkers/aioworkers-sentry
Author: Alexander Bogushov
Author-email: abogushov@gmail.com
License: Apache Software License 2.0
Description: aioworkers-sentry
        =================
        
        .. image:: https://travis-ci.org/aioworkers/aioworkers-sentry.svg?branch=master
          :target: https://travis-ci.org/aioworkers/aioworkers-sentry
        
        .. image:: https://img.shields.io/pypi/v/aioworkers-sentry.svg
          :target: https://pypi.python.org/pypi/aioworkers-sentry
        
        
        aioworkers plugin to work with Sentry. Creates Sentry client and handler according configuration
        and setup logging.
        
        Usage
        -----
        
        Basic config example:
        
        .. code-block:: yaml
        
            sentry:
                cls: aioworkers_sentry.client.Sentry
                dsn: <your sentry dsn>
                handler:
                    level: ERROR
                    tags:
                        env: PROD
                transport:
                    workers: 1
                    qsize: 500
        
        
        Or:
        
        .. code-block:: yaml
        
            logging:
              version: 1
              root:
                handlers: [console,sentry]
              handlers:
                console:
                  level: DEBUG
                  class: logging.StreamHandler
                sentry:
                  dsn: <your sentry dsn>
                  level: ERROR
                  transport:
                    workers: 1
                    qsize: 500
                  environment: production
                  release: 1.0.0
                  tags:
                    env: PROD
        
        
        Development
        -----------
        
        Install dev requirements:
        
        
        .. code-block:: shell
        
            pipenv install --dev --skip-lock
        
        
        Run tests:
        
        .. code-block:: shell
        
            pytest
        
Keywords: aioworkers sentry
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
