29 Commits (d37451bac6f38cc09b853b08b1dc8359ba767fa1)

Author SHA1 Message Date
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
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
David Crawshaw 815bf017fc tsweb: when unwrapping HTTPError, record the user-facing message also in the log 6 years ago
David Anderson eccae0cd0c tsweb: add ReturnHandlerFunc. 6 years ago
Brad Fitzpatrick 64334143a1 tsweb: rename Handler to ReturnHandler 6 years ago
David Anderson af3a9dfad6 tsweb: add a StdHandler that doesn't log 200 responses. 6 years ago
Brad Fitzpatrick 2863e49db9 tsweb: don't flush, treat no-op Handler as 200, like Go 6 years ago
David Anderson 2c2dff9559 tsweb: don't panic if we get a tsweb.Error with no embedded error. 6 years ago
David Anderson 12a6626a94 tsweb: use a ResponseWriter wrapper to log more accurately. 6 years ago
Brad Fitzpatrick 6de37f4cc0 tsweb: move some comments, add a TODO 6 years ago
David Anderson df4636567f tsweb: adjust names and docs of the "handler with errors" functions. 6 years ago
David Anderson 98eceae55e tsweb: add a Handler type. 6 years ago
Brad Fitzpatrick 5c1e443d34 wgengine/monitor: don't call LinkChange when interfaces look unchanged 6 years ago
Brad Fitzpatrick a9cd8f31de tsweb: don't double import expvar; appease staticcheck 6 years ago
Brad Fitzpatrick 890f5dff40 tsweb: export runtime.MemStats var in Prometheus format 6 years ago
Brad Fitzpatrick 61f3fda405 tsweb: let expvar.Ints be gauges too 6 years ago
Brad Fitzpatrick 57de94c7aa tsweb: add /debug/ access via &debugkey + TS_DEBUG_KEY_PATH 6 years ago
David Anderson d580157921 tsweb: quote label values to comply with Prometheus format. 6 years ago
David Anderson f192c05413 metrics: add a LabelMap type for variables with 1 label dimension. 6 years ago
Brad Fitzpatrick e371520cc5 tsweb, derp: add expvar http.Handler for Prometheus's format 6 years ago
Brad Fitzpatrick 824f825552 tsweb, cmd/derper: move common web/debug stuff from derper to new tsweb 6 years ago