Metadata-Version: 2.0
Name: muffin-sentry
Version: 0.0.7
Summary: UNKNOWN
Home-page: https://github.com/klen/muffin-sentry
Author: Kirill Klenov
Author-email: horneds@gmail.com
License: MIT
Keywords: asyncio,aiohttp,muffin,sentry
Platform: Any
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Natural Language :: Russian
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Utilities
Requires-Dist: muffin (>=0.0.99)
Requires-Dist: raven (==5.5.0)
Requires-Dist: raven-aiohttp (==0.1.1)

Muffin-Sentry
#############

.. _description:

Muffin-Sentry -- Integrate Sentry to Muffin framework.

.. _badges:

.. image:: http://img.shields.io/travis/klen/muffin-sentry.svg?style=flat-square
    :target: http://travis-ci.org/klen/muffin-sentry
    :alt: Build Status

.. image:: http://img.shields.io/pypi/v/muffin-sentry.svg?style=flat-square
    :target: https://pypi.python.org/pypi/muffin-sentry

.. image:: http://img.shields.io/pypi/dm/muffin-sentry.svg?style=flat-square
    :target: https://pypi.python.org/pypi/muffin-sentry

.. image:: http://img.shields.io/gratipay/klen.svg?style=flat-square
    :target: https://www.gratipay.com/klen/
    :alt: Donate

.. _documentation:

**Docs are available at https://muffin-sentry.readthedocs.org/. Pull requests
with documentation enhancements and/or fixes are awesome and most welcome.**

.. _contents:

.. contents::

.. _requirements:

Requirements
=============

- python >= 3.3

.. _installation:

Installation
=============

**Muffin-Sentry** should be installed using pip: ::

    pip install muffin-sentry

.. _usage:

Usage
=====

Add **muffin_sentry** to **PLUGINS** in your Muffin Application configuration.

Options
-------

**SENTRY_DSN**  -- Sentry DSN for your application ('')

**SENTRY_TAGS** -- Additional tags (None)

**SENTRY_PROCESSORS** -- Additional processors (None)

**SENTRY_EXCLUDE_PATHS** -- Exclude paths (None)

Manual use
----------

The plugin starts working automaticaly, but you can use it manually:

.. code:: python

    @app.register('/my')
    def my_view(request):
        # ...
        yield from app.ps.sentry.captureMessage('Hello from my view')
        # ...
        yield from app.ps.sentry.captureException(request=request)

.. _bugtracker:

Bug tracker
===========

If you have any suggestions, bug reports or
annoyances please report them to the issue tracker
at https://github.com/klen/muffin-sentry/issues

.. _contributing:

Contributing
============

Development of Muffin-Sentry happens at: https://github.com/klen/muffin-sentry


Contributors
=============

* klen_ (Kirill Klenov)

.. _license:

License
=======

Licensed under a `MIT license`_.

.. _links:


.. _klen: https://github.com/klen

.. _MIT license: http://opensource.org/licenses/MIT


