Skip to content

Pushing to prometheus

PushGateway

Example of pushing node-exporter metrics to pushgateway using curl/grep:

curl -s http://localhost:9256/metrics | \
  grep -v "\(\(^\| \)go_\|http_request\|http_requests\|http_response\|process_\)" | \
  curl --data-binary @- http://pushgateway.example.com:9091/metrics/job/node/instance/<INSTANCE_NAME>

Public instance

export URL='https://prometheus-pushgateway.example.net'

Delete all metrics in the group identified by {job="node",instance="sth"}:

curl -Lu "admin:$PW" -X DELETE $URL/metrics/job/node/instance/sth

prometheus-proxy

prom-aggregation-gateway

Stale / unmaintained

PushProx

Authentication

PushProx helm charts