Files
tailscale/cmd
Nick Khyl fbec7529aa cmd/tailscaled: upload the client metrics of the Windows subprocess
On Windows, tailscaled runs as a service that starts a subprocess to do
the actual work. Only the service process uploads logs, and only its own
client metrics went with them, which left out nearly all of the metrics,
as they are counted in the subprocess.

Have the subprocess write the changes in its metrics to its output ahead
of its log lines, and have the service process merge them into its own
metrics with clientmetric.Remote rather than log them.

Stop skipping TestClientMetricsUploaded for the Windows service.

Fixes tailscale/corp#6528

Signed-off-by: Nick Khyl <[email protected]>
2026-12-01 12:13:24 -08:00
..
2026-07-10 14:26:11 -07:00
2026-07-10 14:26:11 -07:00
2026-07-10 14:26:11 -07:00