81 Commits (5c8d2fa69598ced697c192c024d9dbf58991ab2f)

Author SHA1 Message Date
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
Brad Fitzpatrick df8f02db3f tsweb: add gzip support to JSONHandlerFunc 4 years ago
Brad Fitzpatrick 41fd4eab5c envknob: add new package for all the strconv.ParseBool(os.Getenv(..)) 4 years ago
nicksherron f01ff18b6f all: fix spelling mistakes 5 years ago
Brad Fitzpatrick 722942dd46 tsweb: restore CPU profiling handler 5 years ago
slowy07 ac0353e982 fix: typo spelling grammar 5 years ago
Brad Fitzpatrick 51976ab3a2 tsweb: add vars for unix process start time and version 5 years ago
Brad Fitzpatrick c6740da624 tsweb: make VarzHandler support untyped expvar.Maps for compatibility 5 years ago
Brad Fitzpatrick 7c7eb8094b tsweb: make VarzHandler support expvar.Funcs returning ints/floats 5 years ago
Brad Fitzpatrick 5aba620fb9 tsweb: make VarzHandler capable of walking structs with reflect 5 years ago
Brad Fitzpatrick 3700cf9ea4 tsweb: also support LabelMaps from expvar.Map, without metrics 5 years ago
Brad Fitzpatrick 5f45d8f8e6 tsweb: add VarzHandler tests 5 years ago
julianknodt 3377089583 tsweb: add float64 to logged metrics 5 years ago
David Anderson 0022c3d2e2 tsweb: replace NewMux with a more flexible DebugHandler. 5 years ago
David Anderson 48c25fa36f tsweb: fold StdHandlerOpts and StdHandler200s with StdHandler. 5 years ago
David Anderson 72343fbbec tsweb: register expvars once at startup. 5 years ago
Josh Bleecher Snyder 516e8a4838 tsweb: add num_goroutines expvar 5 years ago
David Anderson 692a011b54 net/interfaces: remove IsTailscaleIP, make callers use tsaddr. 5 years ago
Brad Fitzpatrick 017dcd520f tsweb: export VarzHandler 5 years ago
David Anderson 57cd7738c2 tsweb: add an endpoint to manually trigger a GC. 5 years ago
chungdaniel e7ac9a4b90
tsweb: refactor JSONHandler to take status code from error if it is present (#905) 6 years ago
Josh Bleecher Snyder 3b46655dbb tsweb: add StatusCodeCounters to HandlerOptions 6 years ago
Josh Bleecher Snyder e98f2c57d6 tsweb: add StdHandlerOpts that accepts an options struct 6 years ago