docker run -d -p 8000:8000 <image> --endpoints <EP>/metrics --sample-rate 0.1 --port 8000
10K+
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.
docker run -d -p 8000:8000 prometheus-sampling-exporter --endpoints https://<metrics_exporter>:<port>/metrics --sample-rate 0.1 --port 8000
Content type
Image
Digest
sha256:3f4993fd6…
Size
48.5 MB
Last updated
almost 2 years ago
docker pull jamiemac96/prometheus-sampling-exporter