mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-23 17:18:42 +00:00
wgengine/magicsock: add more DERP home clientmetrics
Updates tailscale/corp#18095 Signed-off-by: Andrew Dunham <andrew@du.nham.ca> Change-Id: I423adca2de0730092394bb5fd5796cd35557d352
This commit is contained in:
@@ -3028,6 +3028,17 @@ var (
|
||||
// changed from non-zero to a different non-zero.
|
||||
metricDERPHomeChange = clientmetric.NewCounter("derp_home_change")
|
||||
|
||||
// metricDERPHomeNoChangeNoControl is how many times our DERP home
|
||||
// region did not change because we didn't have an active connection to
|
||||
// the control server.
|
||||
metricDERPHomeNoChangeNoControl = clientmetric.NewCounter("derp_home_no_change_no_control")
|
||||
|
||||
// metricDERPHomeFallback is how many times we picked a DERP fallback.
|
||||
metricDERPHomeFallback = clientmetric.NewCounter("derp_home_fallback")
|
||||
|
||||
// metricDERPStaleCleaned is how many times we closed a stale DERP connection.
|
||||
metricDERPStaleCleaned = clientmetric.NewCounter("derp_stale_cleaned")
|
||||
|
||||
// Disco packets received bpf read path
|
||||
//lint:ignore U1000 used on Linux only
|
||||
metricRecvDiscoPacketIPv4 = clientmetric.NewCounter("magicsock_disco_recv_bpf_ipv4")
|
||||
|
Reference in New Issue
Block a user