libtailscale: add metrics to NewUserspaceEngine

Updates tailscale/corp#22075

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
pull/525/head
Kristoffer Dalby 1 year ago
parent 9572541648
commit 625f6f0235
No known key found for this signature in database

@ -286,6 +286,7 @@ func (a *App) newBackend(dataDir, directFileRoot string, appCtx AppContext, stor
SetSubsystem: sys.Set, SetSubsystem: sys.Set,
NetMon: b.netMon, NetMon: b.netMon,
HealthTracker: sys.HealthTracker(), HealthTracker: sys.HealthTracker(),
Metrics: sys.UserMetricsRegistry(),
DriveForLocal: driveimpl.NewFileSystemForLocal(logf), DriveForLocal: driveimpl.NewFileSystemForLocal(logf),
}) })
if err != nil { if err != nil {

Loading…
Cancel
Save