Skip to main content

Push Prometheus metrics to VictoriaMetrics or other exporters

Project description

test-all

codecov

prometheus-push-client

Push metrics from your periodic long-running jobs to existing Prometheus/VictoriaMetrics monitoring system.

Currently supports pushes directly to VictoriaMetrics via UDP and HTTP using InfluxDB line protocol as described here.

For pure Prometheus setups, several options are supported:

  • to StatsD or statsd-exporter in StatsD format via UDP. Prometheus and StatsD metric types are not fully compatible, so currenly all metrics become StatsD gauges, but rate, increase, histogram_quantile and other PromQL functions produce same results as if types never changed.

  • to pushgateway or prom-aggregation-gateway in OpenMetrics format via HTTP. Please read corresponding docs about appropriate use cases and limitations.

Install it via pip:

pip install prometheus-push-client

Read more at github page.

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

prometheus_push_client-0.0.8.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

prometheus_push_client-0.0.8-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file prometheus_push_client-0.0.8.tar.gz.

File metadata

  • Download URL: prometheus_push_client-0.0.8.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for prometheus_push_client-0.0.8.tar.gz
Algorithm Hash digest
SHA256 b80aee630eed7b9cddc4f60242bddc67638425e1e75d1fb1924135d908205f23
MD5 950780c9db1a77ce96a71dd594f5b670
BLAKE2b-256 a90f7fc875baf3f0c5fa122e9ff196103da6ca83810325656bd2596ee588f623

See more details on using hashes here.

File details

Details for the file prometheus_push_client-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: prometheus_push_client-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for prometheus_push_client-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c337af4b93aa7f0a184e3baa0df232cf3feec549857974d30ac19d03cffb6868
MD5 9f62e56a74be7752c0b323514b9062c2
BLAKE2b-256 e71780da74597aad7f56b936fc36ed654be79a5310c13f27173ff917ebb990c4

See more details on using hashes here.

Supported by

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