103 Commits (955e2fcbfb4fe7ff9b8dbd665ba24ef2008c676e)

Author SHA1 Message Date
Maisem Ali 5ee349e075 tsweb/varz: fix exporting histograms 3 years ago
Dave Anderson 7b18ed293b
tsweb: check for key-based debug access before XFF check (#9093) 3 years ago
David Anderson 5cfa85e604 tsweb: clean up pprof handler registration, document why it's there 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
Maisem Ali 3304819739 metrics: add histogram support 3 years ago
Andrew Lytvynov 96d7af3469
cmd/derper,tsweb: consistently add HTTP security headers (#8579) 3 years ago
Adrian Dewhurst cd4c71c122 tstest: prepare for Clock API changes 3 years ago
Brad Fitzpatrick 79ee6d6e1e tsweb/varz: use default metrics.LabelMap.Label on serialization 3 years ago
Brad Fitzpatrick eefee6f149 all: use cmpx.Or where it made sense 3 years ago
James Tucker 5c38f0979e tsweb/promvarz: fix repeated expvar definition in test 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
Maisem Ali 1a30b2d73f all: use tstest.Replace more 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 51e1ab5560 fixup! util/vizerror: add new package for visible errors 3 years ago
Will Norris 648aa00a28 fixup! util/vizerror: add new package for visible errors 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
Joe Tsai a794963e2f
tsweb: mark AccessLogRecord fields as omitempty (#5250) 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
Maisem Ali 309c0a13a5 tsweb: add FQDN to Port80Handler to allow HTTPS redirects 4 years ago
Josh Bleecher Snyder 0868329936 all: use any instead of interface{} 4 years ago
Brad Fitzpatrick 61ee72940c all: use Go 1.18's strings.Cut 4 years ago
Brad Fitzpatrick 24c9dbd129 tsweb: fix JSONHandlerFunc regression where HTTP status was lost on gzip 4 years ago