Skip to main content

Asyncio Prometheus Client

Prometheus Http Client for Asyncio of Python

install

pip install aio-prometheus-client

usage

from aio_prometheus_client import PrometheusClient

client = PrometheusClient('http://127.0.0.1:9090')
result = await client.query('http_requests_total')

for s in result.series:
    print(s.metric, s.value.timestamp, s.value.value)

Release files for aio-prometheus-client 0.1.1

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

Built distribution (wheel)

Table of built distributions (wheels) for aio-prometheus-client 0.1.1
File Interpreter ABI Platform
aio_prometheus_client-0.1.1-py3-none-any.whl Python 3 none any Details

Release files / aio_prometheus_client-0.1.1-py3-none-any.whl

Download URL aio_prometheus_client-0.1.1-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a671a1e4300af7d38735700ddbc4ea46799caf144e058f939b7a03563b07a18d
BLAKE2b-256 checksum
How to use checksums
ebf0acd663ed0efe5108ff8e3f96a906708591d9f4404cc3f0bba96ed0ef2334
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

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