libtailscale: add metrics to NewUserspaceEngine (#525)

Updates tailscale/corp#22075

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
pull/526/head
Kristoffer Dalby 1 year ago committed by GitHub
parent 9572541648
commit 2f08e2f02d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save