Files
tailscale/control/controlclient
James Tucker 1f6259a88b derp,control,logtail: add baseline heartbeat and upload metrics
Count DERP keepalive and ping/pong traffic, terminal read-deadline
expirations, and control map-request watchdog expirations. Count
successful pre-compression log upload bytes alongside existing upload
totals to support batch-size comparisons.

Keep timeout attribution narrow: expirations do not imply a successful
reconnect, and completed writes do not imply peer receipt. Log upload
metrics remain on the existing per-logger ExpVar surface.

Add deterministic coverage without changing heartbeat timing, socket
settings, reconnect behavior, or upload policy.

Updates tailscale/corp#50948

Change-Id: I95f7bab62c000172a4825283bb4c055dd29d8043
Signed-off-by: James Tucker <[email protected]>
2026-11-10 16:48:38 -08:00
..