mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 21:15:39 +00:00
8546ff98fb
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>
54 lines
1.6 KiB
Go
54 lines
1.6 KiB
Go
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
// Code generated by gen_deps.go; DO NOT EDIT.
|
|
|
|
package integration
|
|
|
|
import (
|
|
// And depend on a bunch of tailscaled innards, for Go's test caching.
|
|
// Otherwise cmd/go never sees that we depend on these packages'
|
|
// transitive deps when we run "go install tailscaled" in a child
|
|
// process and can cache a prior success when a dependency changes.
|
|
_ "tailscale.com/chirp"
|
|
_ "tailscale.com/cmd/tailscaled/childproc"
|
|
_ "tailscale.com/control/controlclient"
|
|
_ "tailscale.com/derp/derphttp"
|
|
_ "tailscale.com/envknob"
|
|
_ "tailscale.com/ipn"
|
|
_ "tailscale.com/ipn/ipnlocal"
|
|
_ "tailscale.com/ipn/ipnserver"
|
|
_ "tailscale.com/ipn/store"
|
|
_ "tailscale.com/logpolicy"
|
|
_ "tailscale.com/logtail"
|
|
_ "tailscale.com/net/dns"
|
|
_ "tailscale.com/net/dnsfallback"
|
|
_ "tailscale.com/net/interfaces"
|
|
_ "tailscale.com/net/netns"
|
|
_ "tailscale.com/net/proxymux"
|
|
_ "tailscale.com/net/socks5"
|
|
_ "tailscale.com/net/tsdial"
|
|
_ "tailscale.com/net/tshttpproxy"
|
|
_ "tailscale.com/net/tstun"
|
|
_ "tailscale.com/paths"
|
|
_ "tailscale.com/safesocket"
|
|
_ "tailscale.com/smallzstd"
|
|
_ "tailscale.com/ssh/tailssh"
|
|
_ "tailscale.com/syncs"
|
|
_ "tailscale.com/tailcfg"
|
|
_ "tailscale.com/tsweb/varz"
|
|
_ "tailscale.com/types/flagtype"
|
|
_ "tailscale.com/types/key"
|
|
_ "tailscale.com/types/logger"
|
|
_ "tailscale.com/types/logid"
|
|
_ "tailscale.com/util/clientmetric"
|
|
_ "tailscale.com/util/multierr"
|
|
_ "tailscale.com/util/osshare"
|
|
_ "tailscale.com/version"
|
|
_ "tailscale.com/version/distro"
|
|
_ "tailscale.com/wgengine"
|
|
_ "tailscale.com/wgengine/monitor"
|
|
_ "tailscale.com/wgengine/netstack"
|
|
_ "tailscale.com/wgengine/router"
|
|
)
|