tproxy-server
Metrics of the tproxy-server Telegram WEB proxy relay.
Dashboard for the tproxy-server
relay, the Telegram WEB proxy server. It visualises the relay's own metrics, so no
exporter is needed: Prometheus scrapes the relay's /metrics endpoint directly.
Panels
- scrape status, live sessions and streams
- throughput to and from clients, 24h totals
- new sessions and streams per second
- backend dials in flight and pending items
- backend dial failures, limit hits and rejected streams (should stay at zero)
- pending bytes
Setup
The relay serves Prometheus metrics at
http://127.0.0.1:admin_port/metrics(loopback only, keep it that way).Add a scrape job:
scrape_configs: - job_name: tproxy scrape_interval: 15s static_configs: - targets: ["127.0.0.1:7071"] # your admin portImport this dashboard, pick your Prometheus data source, then choose the
jobin the dashboard variables.
Metrics used: tproxy_sessions_live, tproxy_streams_live,
tproxy_backend_dials_in_flight, tproxy_pending_bytes, tproxy_pending_items,
tproxy_sessions_created_total, tproxy_streams_opened_total,
tproxy_streams_rejected_total, tproxy_backend_dial_failures_total,
tproxy_bytes_up_total, tproxy_bytes_down_total, tproxy_limit_hits_total.
Data source config
Collector config:
Upload an updated version of an exported dashboard.json file from Grafana
| Revision | Description | Created | |
|---|---|---|---|
| Download |