summaryrefslogtreecommitdiffhomepage
path: root/tsweb/tsweb.go
AgeCommit message (Expand)AuthorFilesLines
2023-08-16tsweb: add request ID for errorsAdrian Dewhurst1-7/+49
2023-07-19tsweb: relax CSP for debug handlers (#8649)Andrew Lytvynov1-1/+1
2023-07-11cmd/derper,tsweb: consistently add HTTP security headers (#8579)Andrew Lytvynov1-0/+34
2023-06-07all: use cmpx.Or where it made senseBrad Fitzpatrick1-4/+2
2023-04-11tsweb: move varz handler(s) into separate modulesAnton Tolchanov1-388/+4
2023-04-11prober: migrate to Prometheus metric libraryAnton Tolchanov1-12/+0
2023-04-11tsweb: expose native Prometheus metrics in /debug/varzAnton Tolchanov1-0/+35
2023-02-11version: unexport all vars, turn Short/Long into funcsDavid Anderson1-1/+1
2023-02-01all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our forkBrad Fitzpatrick1-2/+1
2023-02-01util/vizerror: add As function to get wrapped ErrorWill Norris1-2/+1
2023-02-01fixup! util/vizerror: add new package for visible errorsWill Norris1-1/+11
2023-01-27all: update copyright and license headersWill Norris1-3/+2
2022-11-22tsweb: export version metrics to PrometheusAnton Tolchanov1-0/+4
2022-11-21all: use strs.CutPrefix and strs.CutSuffix moreMihai Parparita1-1/+2
2022-11-18tsweb: cache prometheus metric names & typesAnton Tolchanov1-7/+30
2022-11-18tsweb: avoid dashes in Prometheus metric namesAnton Tolchanov1-1/+1
2022-10-10tsweb: sort top-level expvars after removing type prefixesBrad Fitzpatrick1-1/+23
2022-10-10tsweb: remove allocs introduced by earlier changeBrad Fitzpatrick1-28/+59
2022-10-09tsweb: sort varz by name after stripping prefix (#5778)Hasnain Lakhani1-6/+34
2022-10-04tsweb: allow HTTPError to unwrap errorsWill Norris1-0/+2
2022-09-29all: fix spelling mistakesJosh Soref1-1/+1
2022-09-23tsweb: consider 304s as successful for quiet loggingMihai Parparita1-4/+4
2022-09-20tsweb: export go_version in standard expvar varsBrad Fitzpatrick1-0/+1
2022-09-15refactor: move from io/ioutil to io and os packagesEng Zer Jun1-2/+1
2022-08-02all: gofmt for Go 1.19Brad Fitzpatrick1-6/+6
2022-08-01tsweb: add HTTPError.Header (#5251)Joe Tsai1-4/+12
2022-07-25all: use various net/netip parse funcs directlyBrad Fitzpatrick1-2/+2
2022-07-25net/netaddr: start migrating to net/netip via new netaddr adapter packageBrad Fitzpatrick1-1/+1
2022-07-11tsweb: add Float expvar support in varzDenton Gentry1-0/+6
2022-06-08tsweb: implement interceptor for error page presentationTom DNetto1-1/+13
2022-06-05tsweb: fix Port80Handler redirect to https with FQDN unsetBrad Fitzpatrick1-1/+1
2022-05-13tsweb: memoize the string forms of HTTP response codes.David Anderson1-3/+27
2022-05-13tsweb: support recording unabridged HTTP status codes as well.David Anderson1-1/+9
2022-05-04tsweb: remove JSONHandlerFuncBrad Fitzpatrick1-0/+25
2022-03-21tsweb: add PrometheusVar, for vars that want to output varz themselves.David Anderson1-0/+12
2022-03-18tsweb: add FQDN to Port80Handler to allow HTTPS redirectsMaisem Ali1-10/+12
2022-03-17all: use any instead of interface{}Josh Bleecher Snyder1-8/+8
2022-03-16all: use Go 1.18's strings.CutBrad Fitzpatrick1-5/+3
2022-01-24envknob: add new package for all the strconv.ParseBool(os.Getenv(..))Brad Fitzpatrick1-2/+3
2021-08-24fix: typo spelling grammarslowy071-1/+1
2021-08-23tsweb: add vars for unix process start time and versionBrad Fitzpatrick1-0/+3
2021-08-12tsweb: make VarzHandler support untyped expvar.Maps for compatibilityBrad Fitzpatrick1-4/+6
2021-08-12tsweb: make VarzHandler support expvar.Funcs returning ints/floatsBrad Fitzpatrick1-0/+5
2021-08-11tsweb: make VarzHandler capable of walking structs with reflectBrad Fitzpatrick1-78/+177
2021-08-10tsweb: also support LabelMaps from expvar.Map, without metricsBrad Fitzpatrick1-4/+20
2021-08-10tsweb: add VarzHandler testsBrad Fitzpatrick1-1/+3
2021-07-25tsweb: add float64 to logged metricsjulianknodt1-1/+1
2021-06-16tsweb: replace NewMux with a more flexible DebugHandler.David Anderson1-24/+0
2021-06-15tsweb: fold StdHandlerOpts and StdHandler200s with StdHandler.David Anderson1-18/+5
2021-06-15tsweb: register expvars once at startup.David Anderson1-2/+5