You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd
Marwan Sulaiman b819f66eb1 tsweb: propagate RequestID via context and entire request
The recent addition of RequestID was only populated if the
HTTP Request had returned an error. This meant that the underlying
handler has no access to this request id and any logs it may have
emitted were impossible to correlate to that request id. Therefore,
this PR adds a middleware to generate request ids and pass them
through the request context. The tsweb.StdHandler automatically
populates this request id if the middleware is being used. Finally,
inner handlers can use the context to retrieve that same request id
and use it so that all logs and events can be correlated.

Updates #2549

Signed-off-by: Marwan Sulaiman <marwan@tailscale.com>
12 months ago
..
addlicense
cloner cmd/cloner: fix typo in test type's name 1 year ago
containerboot cmd/{containerboot,k8s-operator}: allow users to define tailnet egress target by FQDN (#10360) 1 year ago
derper tsweb: propagate RequestID via context and entire request 12 months ago
derpprobe
dist cmd/dist,release/dist: add distsign signing hooks (#9070) 1 year ago
get-authkey all: use cmpx.Or where it made sense 1 year ago
gitops-pusher .github,cmd/gitops-pusher: update to checkout@v4 1 year ago
hello
k8s-operator cmd/{containerboot,k8s-operator}: allow users to define tailnet egress target by FQDN (#10360) 1 year ago
mkmanifest
mkpkg go.mod: upgrade nfpm to v2 (#8786) 1 year ago
mkversion
nardump
netlogfmt go.mod: update github.com/go-json-experiment/json (#9508) 1 year ago
nginx-auth
pgproxy various: add golangci-lint, fix issues (#7905) 2 years ago
printdep
proxy-to-grafana
sniproxy appc,cmd/sniproxy,ipn/ipnlocal: split sniproxy configuration code out of appc 1 year ago
speedtest
ssh-auth-none-demo all: replace deprecated ioutil references 1 year ago
stunc
sync-containers all: adjust some build tags for plan9 1 year ago
tailscale cmd/tailscale,ipn/ipnlocal: pass available update as health message (#10420) 12 months ago
tailscaled syspolicy: add exit node related policies (#10172) 12 months ago
testcontrol
testwrapper ci: report test coverage to coveralls.io 1 year ago
tsconnect scripts/check_license_headers: enforce license on ts/tsx files 12 months ago
tsidp cmd/tsidp: add start of OIDC Tailscale IdP 1 year ago
tsshd
viewer cmd/cloner: add regression test for slice nil/empty semantics 1 year ago