Metadata-Version: 2.0
Name: aiohttp-datadog
Version: 0.3.0
Summary: An aiohttp middleware for reporting metrics to Datadog
Home-page: https://github.com/underyx/aiohttp-datadog
Author: Bence Nagy
Author-email: bence@underyx.me
License: UNKNOWN
Download-URL: https://github.com/underyx/aiohttp-datadog/releases
Description-Content-Type: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.5
Requires-Dist: datadog (~=0.14.0)

aiohttp-datadog
===============

.. image:: https://circleci.com/gh/underyx/aiohttp-datadog.svg?style=shield
   :target: https://circleci.com/gh/underyx/aiohttp-datadog
   :alt: CI Status

An aiohttp_ middleware for reporting metrics to Datadog_. Python 3.5+ is required.

Usage
-----

.. code-block:: python

    from aiohttp import web
    from aiohttp_datadog import DatadogMiddleware
    app = web.Application(
        middlewares=(
            DatadogMiddleware('my_app', {
                'host': 'localhost',
                'port': 8126,
            }),
            # ...
        ),
    )

.. _aiohttp: http://aiohttp.readthedocs.io/en/stable/
.. _Datadog: https://www.datadoghq.com/


