summaryrefslogtreecommitdiffhomepage
path: root/tsweb/tsweb.go
AgeCommit message (Expand)AuthorFilesLines
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
2021-02-01tsweb: add num_goroutines expvarJosh Bleecher Snyder1-0/+1
2021-01-26net/interfaces: remove IsTailscaleIP, make callers use tsaddr.David Anderson1-3/+7
2021-01-14tsweb: export VarzHandlerBrad Fitzpatrick1-3/+3
2020-12-08tsweb: add an endpoint to manually trigger a GC.David Anderson1-0/+10
2020-10-30tsweb: add StatusCodeCounters to HandlerOptionsJosh Bleecher Snyder1-0/+9
2020-10-30tsweb: add StdHandlerOpts that accepts an options structJosh Bleecher Snyder1-16/+28
2020-09-17tsweb: when unwrapping HTTPError, record the user-facing message also in the logDavid Crawshaw1-1/+6
2020-04-22tsweb: add ReturnHandlerFunc.David Anderson1-0/+11
2020-04-05tsweb: rename Handler to ReturnHandlerBrad Fitzpatrick1-25/+16
2020-04-05tsweb: add a StdHandler that doesn't log 200 responses.David Anderson1-4/+15
2020-04-04tsweb: don't flush, treat no-op Handler as 200, like GoBrad Fitzpatrick1-18/+10
2020-04-03tsweb: don't panic if we get a tsweb.Error with no embedded error.David Anderson1-1/+3
2020-03-19tsweb: use a ResponseWriter wrapper to log more accurately.David Anderson1-41/+137
2020-03-18tsweb: move some comments, add a TODOBrad Fitzpatrick1-13/+22
2020-03-18tsweb: adjust names and docs of the "handler with errors" functions.David Anderson1-6/+35
2020-03-17tsweb: add a Handler type.David Anderson1-3/+60
2020-03-10wgengine/monitor: don't call LinkChange when interfaces look unchangedBrad Fitzpatrick1-1/+1
2020-03-06tsweb: don't double import expvar; appease staticcheckBrad Fitzpatrick1-1/+0
2020-03-06tsweb: export runtime.MemStats var in Prometheus formatBrad Fitzpatrick1-1/+29
2020-03-05tsweb: let expvar.Ints be gauges tooBrad Fitzpatrick1-13/+17
2020-03-04tsweb: add /debug/ access via &debugkey + TS_DEBUG_KEY_PATHBrad Fitzpatrick1-2/+17