Skip to main content

Prometheus Http Client for Asyncio

Project description

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)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

aio_prometheus_client-0.1.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file aio_prometheus_client-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for aio_prometheus_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a671a1e4300af7d38735700ddbc4ea46799caf144e058f939b7a03563b07a18d
MD5 eb2a5879a215813f28dd373689c5b641
BLAKE2b-256 ebf0acd663ed0efe5108ff8e3f96a906708591d9f4404cc3f0bba96ed0ef2334

See more details on using hashes here.

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