Metrics
Xray Checker provides two Prometheus metrics for monitoring proxy status and performance. For detailed setup instructions, see Prometheus integration.
For metric visualization, we recommend using Grafana.
xray_proxy_status
Status metric indicating proxy availability:
- Type: Gauge
- Values: 1 (working) or 0 (failed)
- Labels:
protocol
: Proxy protocol (vless/vmess/trojan/shadowsocks)address
: Server address and portname
: Proxy configuration nameinstance
: Instance name (if configured)
Example:
xray_proxy_latency_ms
Latency metric showing connection response time:
- Type: Gauge
- Values: Milliseconds (0 if failed)
- Labels: Same as xray_proxy_status
Example: