You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd/derper
Anton Tolchanov 11e6247d2a tsweb: expose native Prometheus metrics in /debug/varz
The handler will expose built-in process and Go metrics by default,
which currently duplicate some of the expvar-proxied metrics
(`goroutines` vs `go_goroutines`, `memstats` vs `go_memstats`), but as
long as their names are different, Prometheus server will just scrape
both.

This will change /debug/varz behaviour for most tsweb binaries, but
notably not for control, which configures a `tsweb.VarzHandler`
[explicitly](a5b5d5167f/cmd/tailcontrol/tailcontrol.go (L779))

Updates https://github.com/tailscale/corp/issues/10205

Signed-off-by: Anton Tolchanov <anton@tailscale.com>
2 years ago
..
bootstrap_dns.go util/slicesx: add package for generic slice functions, use 2 years ago
bootstrap_dns_test.go all: use tstest.Replace more 2 years ago
cert.go all: update copyright and license headers 2 years ago
depaware.txt tsweb: expose native Prometheus metrics in /debug/varz 2 years ago
derper.go derp,magicsock: add debug envknobs for HTTP and derp server name (#7744) 2 years ago
derper_test.go all: update copyright and license headers 2 years ago
mesh.go all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 2 years ago
websocket.go all: update copyright and license headers 2 years ago