aiohttp-openmetrics
This project contains a simple middleware and /metrics route endpoint for aiohttp that allow easy implementation of the openmetrics protocol.
At the moment, this package is a thin wrapper around the prometheus_client package.
Example usage
from aiohttp import web
from aiohttp_openmetrics import metrics, metrics_middleware
app = web.Application()
app.middlewares.append(metrics_middlware)
app.router.add_get('/metrics', metrics)
web.run_app(app)
License
This package is licensed under the Apache v2 or later license.
Metadata
Release files for aiohttp-openmetrics 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aiohttp-openmetrics-0.0.12.tar.gz | 8.5 kB | Without provenance | Details for aiohttp-openmetrics-0.0.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiohttp_openmetrics-0.0.12-py3-none-any.whl | Python 3 | none | any | Details for aiohttp_openmetrics-0.0.12-py3-none-any.whl |
Total release size: 12.3 kB
Release files / aiohttp-openmetrics-0.0.12.tar.gz
| Download URL | aiohttp-openmetrics-0.0.12.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd946781c325ae80954ef225fb7d03478488f0bb129d3a2fbb383761db968160
|
|
BLAKE2b-256 checksum How to use checksums |
6a3091f9b75b43a69c56f245e1dffd15178f2003d6c0b144e7ed38168cc1fa88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / aiohttp_openmetrics-0.0.12-py3-none-any.whl
| Download URL | aiohttp_openmetrics-0.0.12-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e0d117d60ee31ade98bb3eeab896611abc5bf281949b1d2966e9d8eb48c640f
|
|
BLAKE2b-256 checksum How to use checksums |
eda6122d8f46413e250e49672aa09e0b9e82667e26ba41fc02a68c31245cbf2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for aiohttp-openmetrics 0.0.12
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.