Sign inSign up

jamiemac96/prometheus-sampling-exporter

By jamiemac96

Updated almost 2 years ago

docker run -d -p 8000:8000 <image> --endpoints <EP>/metrics --sample-rate 0.1 --port 8000

Image
Monitoring & observability
0

10K+

jamiemac96/prometheus-sampling-exporter repository overview

prometheus-sampling-exporter

This simple container uses a python script to read from one or more endpoints and sample the result at a given sample rate (eg .1 = 10% of metrics are included). The resulting metrics are then exposed on the port passed in the --port paramater. Samples are run every 60 seconds.

Usage

docker run -d -p 8000:8000 prometheus-sampling-exporter --endpoints https://<metrics_exporter>:<port>/metrics --sample-rate 0.1 --port 8000

Tag summary

Content type

Image

Digest

sha256:3f4993fd6

Size

48.5 MB

Last updated

almost 2 years ago

docker pull jamiemac96/prometheus-sampling-exporter