Files
tailscale/tsweb/varz
Brad Fitzpatrick 258b087998 tsweb/varz: add match filters and streaming to /debug/varz
The new "match" query parameter filters the output by metric name
with Go regexps, and "interval" turns the response into a stream of
frames, a full one first and then deltas with only the changed series,
so monitors can subscribe once instead of re-fetching everything. A
stream matches vars once at setup and then compares plain counters and
gauges without formatting them. The new ReadStream parses the stream.

Updates tailscale/corp#47429

Change-Id: I8751bfe981991b4aca7f1cf52001e093584a258a
Signed-off-by: Brad Fitzpatrick <[email protected]>
2026-11-24 18:08:59 -08:00
..