Skip to main content

Enabling metrics

Or via config:
Metrics are served at http://localhost:9090/metrics.

Metrics reference

Request metrics

outcome values: success, rate_limited, server_error, connection_error, no_match. The tag label is set from the X-Proxy-Hopper-Tag request header (empty string if not provided).

Queue metrics

IP pool metrics

Probe metrics

Probe reason values: timeout, proxy_unreachable, connection_error, http_error.

Managed auth metrics

Emitted for targets using managed auth (authManaged: true) — see Token Server for the operational context.

Admin UI metrics panel

The admin UI’s per-target panel (total requests, success rate, avg latency) is backed by GraphQL’s targetMetrics(name: ...), which pulls from one of two sources — never both at once:
This is unrelated to metrics/metricsPort above — those control Proxy Hopper’s own /metrics scrape endpoint (Proxy Hopper as a Prometheus target). prometheusUrl is the opposite direction: Proxy Hopper as a Prometheus client, for one small admin-UI panel, nothing else.

Labels

tag label

Set by the X-Proxy-Hopper-Tag request header. Use it to identify which endpoints are consuming IPs or triggering quarantine events:

provider and region labels

Come from proxyProviders config — enable per-provider and per-region queries:

Kubernetes scraping

See Kubernetes Monitoring for Prometheus Operator ServiceMonitor configuration and pod annotation-based scraping.