Python wrapper for Prometheus Node Collector https://github.com/shadowy-pycoder/go-node-collector
Project description
Python Node Collector
A python wrapper for Prometheus Node Collector
Installation
pip install py-node-collector
Usage
from prometheus_client import parser
from py_node_collector import collector
metric = next(parser.text_string_to_metric_families(collector.collect()))
print(metric)
# Output
Metric(go_gc_duration_seconds, A summary of the pause duration of garbage collection cycles., summary, ,
[Sample(name='go_gc_duration_seconds', labels={'quantile': '0'}, value=0.0, timestamp=None, exemplar=None),
Sample(name='go_gc_duration_seconds', labels={'quantile': '0.25'}, value=0.0, timestamp=None, exemplar=None),
Sample(name='go_gc_duration_seconds', labels={'quantile': '0.5'}, value=0.0, timestamp=None, exemplar=None),
Sample(name='go_gc_duration_seconds', labels={'quantile': '0.75'}, value=0.0, timestamp=None, exemplar=None),
Sample(name='go_gc_duration_seconds', labels={'quantile': '1'}, value=0.0, timestamp=None, exemplar=None),
Sample(name='go_gc_duration_seconds_sum', labels={}, value=0.0, timestamp=None, exemplar=None),
Sample(name='go_gc_duration_seconds_count', labels={}, value=0.0, timestamp=None, exemplar=None)])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_node_collector-0.0.3-py312-none-any.whl.
File metadata
- Download URL: py_node_collector-0.0.3-py312-none-any.whl
- Upload date:
- Size: 22.9 MB
- Tags: Python 3.12
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8ef8befd0c8e0c591f9a57ce2ea903231a20747ab660d0d111d6cac221625ff
|
|
| MD5 |
b2ceee7c69331736ffc907f9eda40160
|
|
| BLAKE2b-256 |
8fcd776d7cda9e8484aa2a53fe37d95ecbfcf433f9ae6c1452365dac2b41f88e
|
File details
Details for the file py_node_collector-0.0.3-py311-none-any.whl.
File metadata
- Download URL: py_node_collector-0.0.3-py311-none-any.whl
- Upload date:
- Size: 22.9 MB
- Tags: Python 3.11
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a6705ccdf0df90f3320748f5ab1c3908d2f54781b89c665099d266a80082496
|
|
| MD5 |
45f19cc5695ddcbbc37a83ff421fb0af
|
|
| BLAKE2b-256 |
0ab09bb22aa61e73a82ed80a1ae9689fe4101931235f9a694e0bf50529843631
|
File details
Details for the file py_node_collector-0.0.3-py310-none-any.whl.
File metadata
- Download URL: py_node_collector-0.0.3-py310-none-any.whl
- Upload date:
- Size: 22.9 MB
- Tags: Python 3.10
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63bdf6d101ebff2bb51ac446efec785167a4107c141e2a98bc3c488813a54f91
|
|
| MD5 |
d7bb6ce82b067d09585a30d1aecc4007
|
|
| BLAKE2b-256 |
66511cfa30b3ab2c5708a283574a0556127368d384039a0f48b6231aa52f47fe
|
File details
Details for the file py_node_collector-0.0.3-py39-none-any.whl.
File metadata
- Download URL: py_node_collector-0.0.3-py39-none-any.whl
- Upload date:
- Size: 22.9 MB
- Tags: Python 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d2f88be25d1f82b79f8442ab6b1809e4c5c0056a51c7f507e43cdc19f3aad58
|
|
| MD5 |
6735de0f86c5f4bddf331b8777d44109
|
|
| BLAKE2b-256 |
a386c97e83d64541b0000ffd5804d768f9cc71491398279d867fb991a3a4aa6d
|
File details
Details for the file py_node_collector-0.0.3-py38-none-any.whl.
File metadata
- Download URL: py_node_collector-0.0.3-py38-none-any.whl
- Upload date:
- Size: 22.9 MB
- Tags: Python 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24a025477dde0853a76eeeb983abf7d2676ec77306710f5f6ce72673532bf84e
|
|
| MD5 |
410a136e81833ed2e94ec54014fc4dc6
|
|
| BLAKE2b-256 |
cd72c50f71306592015e9ac54f80f83ba8f74dde3879eb7d3e4e32e34e042865
|