tailscale/tstest/integration
Anton Tolchanov 8546ff98fb tsweb: move varz handler(s) into separate modules
This splits Prometheus metric handlers exposed by tsweb into two
modules:
- `varz.Handler` exposes Prometheus metrics generated by our expvar
  converter;
- `promvarz.Handler` combines our expvar-converted metrics and native
  Prometheus metrics.

By default, tsweb will use the promvarz handler, however users can keep
using only the expvar converter. Specifically, `tailscaled` now uses
`varz.Handler` explicitly, which avoids a dependency on the
(heavyweight) Prometheus client.

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

Signed-off-by: Anton Tolchanov <anton@tailscale.com>
2023-04-11 08:37:32 +01:00
..
testcontrol tstest/integration: add ping test w/ masquerades 2023-03-23 16:54:12 -07:00
vms all: update tools that manage copyright headers 2023-01-27 15:36:29 -08:00
gen_deps.go all: update tools that manage copyright headers 2023-01-27 15:36:29 -08:00
integration_test.go tstest/integration: add ping test w/ masquerades 2023-03-23 16:54:12 -07:00
integration.go all: replace logtail.{Public,Private}ID with logid.{Public,Private}ID (#7404) 2023-02-28 19:00:00 -08:00
tailscaled_deps_test_darwin.go tsweb: move varz handler(s) into separate modules 2023-04-11 08:37:32 +01:00
tailscaled_deps_test_freebsd.go tsweb: move varz handler(s) into separate modules 2023-04-11 08:37:32 +01:00
tailscaled_deps_test_linux.go tsweb: move varz handler(s) into separate modules 2023-04-11 08:37:32 +01:00
tailscaled_deps_test_openbsd.go tsweb: move varz handler(s) into separate modules 2023-04-11 08:37:32 +01:00
tailscaled_deps_test_windows.go tsweb: move varz handler(s) into separate modules 2023-04-11 08:37:32 +01:00