tailscale/tsweb
Adrian Dewhurst f75a36f9bc tsweb: add request ID for errors
If an optional request ID generating func is supplied to StdHandler,
then requests that return an error will be logged with a request ID that
is also shown as part of the response.

Updates tailscale/corp#2549

Change-Id: Ic7499706df42f95b6878d44d4aab253e2fc6a69b
Signed-off-by: Adrian Dewhurst <adrian@tailscale.com>
2023-08-16 12:55:31 -04:00
..
promvarz tsweb/promvarz: fix repeated expvar definition in test 2023-05-06 09:53:09 -07:00
varz metrics: add histogram support 2023-07-18 09:18:55 -07:00
debug.go tsweb: relax CSP for debug handlers (#8649) 2023-07-19 11:58:29 -07:00
debug_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
log.go tsweb: add request ID for errors 2023-08-16 12:55:31 -04:00
tsweb.go tsweb: add request ID for errors 2023-08-16 12:55:31 -04:00
tsweb_test.go tsweb: add request ID for errors 2023-08-16 12:55:31 -04:00