tailscale/types
Andrew Dunham d1146dc701 ipn/ipnlocal: rate-limit diagnose logs in bugreport
We can log too quickly for logtail to catch up, even when we opt out of
log rate-limiting. When the user passes the --diagnose flag to
bugreport, we use a token bucket to control how many logs per second are
printed and sleep until we're able to write more.

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: If27672d66b621b589280bd0fe228de367ffcbd8f
2023-01-31 14:29:21 -05:00
..
dnstype all: update copyright and license headers 2023-01-27 15:36:29 -08:00
empty all: update copyright and license headers 2023-01-27 15:36:29 -08:00
flagtype all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ipproto all: update copyright and license headers 2023-01-27 15:36:29 -08:00
key all: update copyright and license headers 2023-01-27 15:36:29 -08:00
logger ipn/ipnlocal: rate-limit diagnose logs in bugreport 2023-01-31 14:29:21 -05:00
logid all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netlogtype all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netmap all: update copyright and license headers 2023-01-27 15:36:29 -08:00
nettype all: update copyright and license headers 2023-01-27 15:36:29 -08:00
opt all: update copyright and license headers 2023-01-27 15:36:29 -08:00
persist all: update copyright and license headers 2023-01-27 15:36:29 -08:00
preftype all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ptr all: update copyright and license headers 2023-01-27 15:36:29 -08:00
structs all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tkatype all: update copyright and license headers 2023-01-27 15:36:29 -08:00
views all: update copyright and license headers 2023-01-27 15:36:29 -08:00