Skip to main content

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


Download files

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

Source Distribution

python_runtime_metrics-1.2.1.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_runtime_metrics-1.2.1-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

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

Hashes for python_runtime_metrics-1.2.1.tar.gz
Algorithm Hash digest
SHA256 0e8c698691946f5dd5bd9f1354a6b87a35e451e1e9e656d3f214af3a603daebf
MD5 344447e98fd901fe3b8ba11f6951118d
BLAKE2b-256 2c1803b86cc589bf0750dc04943a201945041e9da8676f56d8e6b2ae8980db62

See more details on using hashes here.

File details

Details for the file python_runtime_metrics-1.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for python_runtime_metrics-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f897db85881c058a9eb0035fc015a01cbd938a82054fc07d69c75f2bfae31465
MD5 7abeab45854d6a292710dfa9edf70ac5
BLAKE2b-256 e45c2e0151cad5e20b1993584647e0bbe3eb83270da1ec2c8bdd688a29e36040

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page