A Prometheus metrics collector for runtime metrics
Project description
MetricsCollector
MetricsCollector is a Python module that allows you to collect and expose metrics of python applications using prometheus.
Features
- This provides metrics like garbage collections,cpu,memory,fds,thread count.
- Exposes metrics via an HTTP server for Prometheus to scrape.
Installation
You can install MetricsCollector using pip:
pip install metricscollector
How to use
from coreTeamMetrics import MetricsCollector
server_port = server_port
metrics_collector = MetricsCollector(server_port)
metrics_collector.start()
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 Distribution
Built Distribution
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 python_runtime_metrics-1.2.1.tar.gz.
File metadata
- Download URL: python_runtime_metrics-1.2.1.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e8c698691946f5dd5bd9f1354a6b87a35e451e1e9e656d3f214af3a603daebf
|
|
| MD5 |
344447e98fd901fe3b8ba11f6951118d
|
|
| BLAKE2b-256 |
2c1803b86cc589bf0750dc04943a201945041e9da8676f56d8e6b2ae8980db62
|
File details
Details for the file python_runtime_metrics-1.2.1-py3-none-any.whl.
File metadata
- Download URL: python_runtime_metrics-1.2.1-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f897db85881c058a9eb0035fc015a01cbd938a82054fc07d69c75f2bfae31465
|
|
| MD5 |
7abeab45854d6a292710dfa9edf70ac5
|
|
| BLAKE2b-256 |
e45c2e0151cad5e20b1993584647e0bbe3eb83270da1ec2c8bdd688a29e36040
|