|
|
@ -3028,6 +3028,17 @@ var (
|
|
|
|
// changed from non-zero to a different non-zero.
|
|
|
|
// changed from non-zero to a different non-zero.
|
|
|
|
metricDERPHomeChange = clientmetric.NewCounter("derp_home_change")
|
|
|
|
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
|
|
|
|
// Disco packets received bpf read path
|
|
|
|
//lint:ignore U1000 used on Linux only
|
|
|
|
//lint:ignore U1000 used on Linux only
|
|
|
|
metricRecvDiscoPacketIPv4 = clientmetric.NewCounter("magicsock_disco_recv_bpf_ipv4")
|
|
|
|
metricRecvDiscoPacketIPv4 = clientmetric.NewCounter("magicsock_disco_recv_bpf_ipv4")
|
|
|
|