tproxy-server

Metrics of the tproxy-server Telegram WEB proxy relay.

tproxy-server screenshot 1

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

  1. The relay serves Prometheus metrics at http://127.0.0.1:admin_port/metrics (loopback only, keep it that way).

  2. Add a scrape job:

    scrape_configs:
      - job_name: tproxy
        scrape_interval: 15s
        static_configs:
          - targets: ["127.0.0.1:7071"]   # your admin port
    
  3. Import this dashboard, pick your Prometheus data source, then choose the job in 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.

Revisions
RevisionDescriptionCreated

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies