An aiohttp middleware for reporting metrics to Datadog. Python 3.5+ is required.
from aiohttp import web
from aiohttp_datadog import DatadogMiddleware
app = web.Application(
middlewares=(
DatadogMiddleware('my_app', {
'host': 'localhost',
'port': 8126,
}),
# ...
),
)