Enabling metrics
Enable the Prometheus metrics endpoint in your Helm values:/metrics on port 9090 of each pod.
Prometheus Operator — ServiceMonitor
If you use the Prometheus Operator (e.g. viakube-prometheus-stack), enable the ServiceMonitor:
Prometheus auto-discovery (pod annotations)
If you use annotation-based scraping rather than the Prometheus Operator, the chart adds pod annotations automatically whenmetrics.enabled: true:
/metrics endpoint — Prometheus scrapes them independently and aggregates in queries.
Key metrics to alert on
| Metric | Alert condition | Meaning |
|---|---|---|
proxy_hopper_retry_exhaustions_total | Rising rate | Requests are failing all retries — IPs may be universally blocked |
proxy_hopper_quarantined_ips | High and rising | Many IPs are being quarantined — possible provider-wide block |
proxy_hopper_queue_expired_total | Any increase | Requests timing out in queue — pool too small for load |
proxy_hopper_probe_failure_total | Rising by region | Connectivity issues to a provider region |
Example PromQL queries
Grafana dashboards
Pre-built Grafana dashboards are available and can be auto-loaded by the Grafana sidecar:proxy-hopper namespace.