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
- GitHub
- Well maintained, recent releases
- Up to date, properly tagged images
- No helm chart published on artifacthub
prom-aggregation-gateway
- GitHub
- No helm chart published on artifacthub
- Feature Request - HELM Chart
- The prometheus-pushgateway helm chart can get used for deploying prom-aggregation-gateway with little changes
Stale / unmaintained
PushProx
- GitHub
- Last release over 1y old
- Unversioned, unverbose official image
Authentication
- Use ingress with http auth for server
- Use basic auth via URL for the client
- PR for adding authentication to pushprox nativly: Added basic auth for proxy and /clients endpoint
PushProx helm charts
- No official helm chart
- camptocamp chart (2019)
uses
camptocamp/pushproximage (see above)