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

coreTeamMetrics-3.0.2.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

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

coreTeamMetrics-3.0.2-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file coreTeamMetrics-3.0.2.tar.gz.

File metadata

  • Download URL: coreTeamMetrics-3.0.2.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.17

File hashes

Hashes for coreTeamMetrics-3.0.2.tar.gz
Algorithm Hash digest
SHA256 679bf5e5a9d5c53ac07dd422168d06741591cf090ea3eff147fcfc78990ac3dd
MD5 428711d699e25c3e45274cae57ae790b
BLAKE2b-256 d4dd35ac8c87bcab5e255d1aa2196c569b1c2ece41c0fc6b4738f4beac0f90d9

See more details on using hashes here.

File details

Details for the file coreTeamMetrics-3.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for coreTeamMetrics-3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 13c7d2e3185d5d4a27fc247a95ecb780a9e87ce01b7a6bd3df0873de8672749b
MD5 ccdca31dfb8c46000e976bb06d62d347
BLAKE2b-256 79785d00218b3761d215228e914add0f7ff6afcf1c02dde8de18ac5a293f295e

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