Skip to main content
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",
            {"host": "localhost", "port": 8126},
        ),
    ),
)

If you’re using a custom DogStatsd class, you can supply it via a keyword argument:

app = web.Application(
    middlewares=(
        DatadogMiddleware(
            "my_app",
            {"host": "localhost", "port": 8126},
            dogstatsd_class=CatStatsd,
        ),
    ),
)

Or if you’re even more of a control freak, you can instantiate it yourself:

app = web.Application(
    middlewares=(
        DatadogMiddleware(
            "my_app",
            dogstatsd_instance=CatStatsd(meow=False),
        ),
    ),
)

Metadata

Release files for aiohttp-datadog 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aiohttp-datadog 0.5.0
File Size Uploaded Provenance Actions
aiohttp-datadog-0.5.0.tar.gz 2.5 kB Without provenance Details for aiohttp-datadog-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aiohttp-datadog 0.5.0
File Interpreter ABI Platform Actions
aiohttp_datadog-0.5.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for aiohttp_datadog-0.5.0-py2.py3-none-any.whl

Total release size: 5.7 kB

Release files / aiohttp-datadog-0.5.0.tar.gz

Download URL aiohttp-datadog-0.5.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3ddf1f52315b3d9b77581a4e8adfcd6b83ca6e063923eb1eb707811e5bcb7b69
BLAKE2b-256 checksum
How to use checksums
ca27e8270b0bcd0f1e607d09ab312c737088e21798d1a1a51e30154094ccb6f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.1

Release files / aiohttp_datadog-0.5.0-py2.py3-none-any.whl

Download URL aiohttp_datadog-0.5.0-py2.py3-none-any.whl
Size 3.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a334760d5d35ec6574a9c4f982ffd47b003fe194cf57a85bc26c63e066fcf488
BLAKE2b-256 checksum
How to use checksums
e00f0fc3914bc1c769f6af1fad246d76f08998bb1deb52a9fc0c88552df5b87f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.1

Security for aiohttp-datadog 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page