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)])
Metadata
Release files for py-node-collector 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| py_node_collector-0.0.3-py312-none-any.whl | Python 3.12 | none | any | Details |
| py_node_collector-0.0.3-py311-none-any.whl | Python 3.11 | none | any | Details |
| py_node_collector-0.0.3-py310-none-any.whl | Python 3.10 | none | any | Details |
| py_node_collector-0.0.3-py39-none-any.whl | Python 3.9 | none | any | Details |
| py_node_collector-0.0.3-py38-none-any.whl | Python 3.8 | none | any | Details |
Total release size: 114.7 MB
Release files / py_node_collector-0.0.3-py312-none-any.whl
| Download URL | py_node_collector-0.0.3-py312-none-any.whl |
|---|---|
| Size | 22.9 MB |
| Tags | Python 3.12 |
|
SHA-256 checksum How to use checksums |
b8ef8befd0c8e0c591f9a57ce2ea903231a20747ab660d0d111d6cac221625ff
|
|
BLAKE2b-256 checksum How to use checksums |
8fcd776d7cda9e8484aa2a53fe37d95ecbfcf433f9ae6c1452365dac2b41f88e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Release files / py_node_collector-0.0.3-py311-none-any.whl
| Download URL | py_node_collector-0.0.3-py311-none-any.whl |
|---|---|
| Size | 22.9 MB |
| Tags | Python 3.11 |
|
SHA-256 checksum How to use checksums |
9a6705ccdf0df90f3320748f5ab1c3908d2f54781b89c665099d266a80082496
|
|
BLAKE2b-256 checksum How to use checksums |
0ab09bb22aa61e73a82ed80a1ae9689fe4101931235f9a694e0bf50529843631
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Release files / py_node_collector-0.0.3-py310-none-any.whl
| Download URL | py_node_collector-0.0.3-py310-none-any.whl |
|---|---|
| Size | 22.9 MB |
| Tags | Python 3.10 |
|
SHA-256 checksum How to use checksums |
63bdf6d101ebff2bb51ac446efec785167a4107c141e2a98bc3c488813a54f91
|
|
BLAKE2b-256 checksum How to use checksums |
66511cfa30b3ab2c5708a283574a0556127368d384039a0f48b6231aa52f47fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Release files / py_node_collector-0.0.3-py39-none-any.whl
| Download URL | py_node_collector-0.0.3-py39-none-any.whl |
|---|---|
| Size | 22.9 MB |
| Tags | Python 3.9 |
|
SHA-256 checksum How to use checksums |
9d2f88be25d1f82b79f8442ab6b1809e4c5c0056a51c7f507e43cdc19f3aad58
|
|
BLAKE2b-256 checksum How to use checksums |
a386c97e83d64541b0000ffd5804d768f9cc71491398279d867fb991a3a4aa6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Release files / py_node_collector-0.0.3-py38-none-any.whl
| Download URL | py_node_collector-0.0.3-py38-none-any.whl |
|---|---|
| Size | 22.9 MB |
| Tags | Python 3.8 |
|
SHA-256 checksum How to use checksums |
24a025477dde0853a76eeeb983abf7d2676ec77306710f5f6ce72673532bf84e
|
|
BLAKE2b-256 checksum How to use checksums |
cd72c50f71306592015e9ac54f80f83ba8f74dde3879eb7d3e4e32e34e042865
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|