Skip to main content

An aiohttp middleware for reporting metrics to Datadog

Project description

CI Status

An aiohttp middleware for reporting metrics to Datadog. Python 3.5+ is required.

Usage

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiohttp-datadog-0.1.0.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

aiohttp_datadog-0.1.0-py2.py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page