prometheus http sdk
Project description
A simple prometheus http sdk
Example
- get data
data = PrometheusApi("http://prometheus").query_range(
query=":node_cpu_saturation_load1:",
range_time="6h",
)
print(data)
- cover to dict
data.coverDict()
- cover to json
data.coverJson()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for prometheus_http_sdk-0.0.1.macosx-10.9-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2bb5bdd3bb03e34661355729eee4fcef90b6fdcaac53a8330fc81f20dedaaf2 |
|
MD5 | f77f079e79ad16dd982a72270c010639 |
|
BLAKE2b-256 | 4981124970887f33eb27e19b19fe610ce2bfdd6abc15634bb6bbbc32e950621e |
Close
Hashes for prometheus_http_sdk-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1af6646db60eb9e09d7489db8516657cdae3b8facfb0afa6c0408ceb4517f961 |
|
MD5 | 68f406e4addbe971ed276204e491e833 |
|
BLAKE2b-256 | 0a84061baf7dc1d72d12c9b74a85ba6866e69277b47dfb9be48bd2e24afd5947 |