90 Commits (80decd83c19d1536df482ee1a171663d923a7d7b)

Author SHA1 Message Date
Will Norris 80decd83c1 tsweb: remove redundant bumpStartIfNeeded func 2 years ago
Will Norris 46980c9664 tsweb: ensure in-flight requests are always marked as finished 2 years ago
Maisem Ali 21b32b467e tsweb: handle panics in retHandler 2 years ago
James Tucker 9eaa56df93 tsweb: update doc on BucketedStatsOptions.Finish to match behavior 2 years ago
Brad Fitzpatrick b0941b79d6 tsweb: make BucketedStats not track 400s, 404s, etc 2 years ago
Andrew Lytvynov c7474431f1
tsweb: allow empty redirect URL in CleanRedirectURL (#11295) 2 years ago
Brad Fitzpatrick 2bd3c1474b util/cmpx: delete now that we're using Go 1.22 2 years ago
Tom DNetto 653721541c tsweb: normalize passkey identities in bucketed stats 2 years ago
Tom DNetto 8d6d9d28ba tsweb: normalize common StableID's in bucketed stats, export as LabelMap 2 years ago
Tom DNetto af931dcccd tsweb: replace domains/emails in paths when bucketing stats 2 years ago
Tom DNetto 36efc50817 tsweb: implementing bucketed statistics for started/finished counts 2 years ago
David Anderson ae79b2e784 tsweb: add a helper to validate redirect URLs 2 years ago
Chris Palmer 1f1ab74250
tsweb: use object-src instead of plugin-types (#10719) 2 years ago
Marwan Sulaiman b819f66eb1 tsweb: propagate RequestID via context and entire request 2 years ago
Dave Anderson 7b18ed293b
tsweb: check for key-based debug access before XFF check (#9093) 3 years ago
Adrian Dewhurst f75a36f9bc tsweb: add request ID for errors 3 years ago
Andrew Lytvynov 7c04846eac
tsweb: relax CSP for debug handlers (#8649) 3 years ago
Andrew Lytvynov 96d7af3469
cmd/derper,tsweb: consistently add HTTP security headers (#8579) 3 years ago
Brad Fitzpatrick eefee6f149 all: use cmpx.Or where it made sense 3 years ago
Anton Tolchanov 8546ff98fb tsweb: move varz handler(s) into separate modules 3 years ago
Anton Tolchanov c153e6ae2f prober: migrate to Prometheus metric library 3 years ago
Anton Tolchanov 11e6247d2a tsweb: expose native Prometheus metrics in /debug/varz 3 years ago
David Anderson 8b2ae47c31 version: unexport all vars, turn Short/Long into funcs 3 years ago
Brad Fitzpatrick b1248442c3 all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 3 years ago
Will Norris 10085063fb util/vizerror: add As function to get wrapped Error 3 years ago
Will Norris 598ec463bc fixup! util/vizerror: add new package for visible errors 3 years ago
Will Norris 71029cea2d all: update copyright and license headers 3 years ago
Anton Tolchanov f053f16460 tsweb: export version metrics to Prometheus 3 years ago
Mihai Parparita 33520920c3 all: use strs.CutPrefix and strs.CutSuffix more 3 years ago
Anton Tolchanov f40bb199f5 tsweb: cache prometheus metric names & types 3 years ago
Anton Tolchanov 3c27632ffe tsweb: avoid dashes in Prometheus metric names 3 years ago
Brad Fitzpatrick 614a24763b tsweb: sort top-level expvars after removing type prefixes 4 years ago
Brad Fitzpatrick 718914b697 tsweb: remove allocs introduced by earlier change 4 years ago
Hasnain Lakhani 8fe04b035c tsweb: sort varz by name after stripping prefix (#5778) 4 years ago
Will Norris 62bc1052a2 tsweb: allow HTTPError to unwrap errors 4 years ago
Josh Soref d4811f11a0 all: fix spelling mistakes 4 years ago
Mihai Parparita c66e15772f tsweb: consider 304s as successful for quiet logging 4 years ago
Brad Fitzpatrick aa5e494aba tsweb: export go_version in standard expvar vars 4 years ago
Eng Zer Jun f0347e841f refactor: move from io/ioutil to io and os packages 4 years ago
Brad Fitzpatrick 116f55ff66 all: gofmt for Go 1.19 4 years ago
Joe Tsai 57275a4912
tsweb: add HTTPError.Header (#5251) 4 years ago
Brad Fitzpatrick 6a396731eb all: use various net/netip parse funcs directly 4 years ago
Brad Fitzpatrick 7eaf5e509f net/netaddr: start migrating to net/netip via new netaddr adapter package 4 years ago
Denton Gentry 755396d6fe tsweb: add Float expvar support in varz 4 years ago
Tom DNetto 32c6823cf5 tsweb: implement interceptor for error page presentation 4 years ago
Brad Fitzpatrick 0df3b76c25 tsweb: fix Port80Handler redirect to https with FQDN unset 4 years ago
David Anderson e1c1d47991 tsweb: memoize the string forms of HTTP response codes. 4 years ago
David Anderson c48513b2be tsweb: support recording unabridged HTTP status codes as well. 4 years ago
Brad Fitzpatrick 2d1849a7b9 tsweb: remove JSONHandlerFunc 4 years ago
David Anderson 7b4960316b tsweb: add PrometheusVar, for vars that want to output varz themselves. 4 years ago