diff options
| author | Alex Valiushko <alexvaliushko@tailscale.com> | 2025-12-18 16:12:50 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-18 16:12:50 -0800 |
| commit | c40f3521032c7687e8b9c85020f7857e211ab693 (patch) | |
| tree | 8f7e206769eba49b52689d6a338608ab3c9bc091 /control/controlhttp/controlhttpserver/controlhttpserver.go | |
| parent | bb3529fcd4ba8c16e03a6883a09d81e2bc63baa2 (diff) | |
| download | tailscale-c40f3521032c7687e8b9c85020f7857e211ab693.tar.xz tailscale-c40f3521032c7687e8b9c85020f7857e211ab693.zip | |
net/udprelay: expose peer relay metrics (#18218)
Adding both user and client metrics for peer relay forwarded bytes and
packets, and the total endpoints gauge.
User metrics:
tailscaled_peer_relay_forwarded_packets_total{transport_in, transport_out}
tailscaled_peer_relay_forwarded_bytes_total{transport_in, transport_out}
tailscaled_peer_relay_endpoints_total{}
Where the transport labels can be of "udp4" or "udp6".
Client metrics:
udprelay_forwarded_(packets|bytes)_udp(4|6)_udp(4|6)
udprelay_endpoints
RELNOTE: Expose tailscaled metrics for peer relay.
Updates tailscale/corp#30820
Change-Id: I1a905d15bdc5ee84e28017e0b93210e2d9660259
Signed-off-by: Alex Valiushko <alexvaliushko@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions
