mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-25 19:21:18 -08:00
util/usermetrics: add package and container for usermetrics
Signed-off-by: Kristoffer Dalby <[email protected]>
This commit is contained in:
10 files changed
+82
-28
No files matched your search
@@ -23,7 +23,6 @@ import (
|
||||
xmaps "golang.org/x/exp/maps"
|
||||
"tailscale.com/control/controlknobs"
|
||||
"tailscale.com/envknob"
|
||||
"tailscale.com/metrics"
|
||||
"tailscale.com/tailcfg"
|
||||
"tailscale.com/tstime"
|
||||
"tailscale.com/types/key"
|
||||
@@ -34,6 +33,7 @@ import (
|
||||
"tailscale.com/util/clientmetric"
|
||||
"tailscale.com/util/mak"
|
||||
"tailscale.com/util/set"
|
||||
"tailscale.com/util/usermetrics"
|
||||
"tailscale.com/wgengine/filter"
|
||||
)
|
||||
|
||||
@@ -362,7 +362,7 @@ type healthMessageLabel struct {
|
||||
Severity string
|
||||
}
|
||||
|
||||
var metricHealthMessages = metrics.NewMultiLabelMap[healthMessageLabel](
|
||||
var metricHealthMessages = usermetrics.NewMultiLabelMap[healthMessageLabel](
|
||||
"tailscaled_health_messages",
|
||||
"gauge",
|
||||
"A gauge of health messages from control, by severity",
|
||||
|
||||
Reference in new issue
Block a user