Skip to content

Commit 2f08e2f

Browse files
authored
libtailscale: add metrics to NewUserspaceEngine (#525)
Updates tailscale/corp#22075 Signed-off-by: Kristoffer Dalby <[email protected]>
1 parent 9572541 commit 2f08e2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libtailscale/backend.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ func (a *App) newBackend(dataDir, directFileRoot string, appCtx AppContext, stor
286286
SetSubsystem: sys.Set,
287287
NetMon: b.netMon,
288288
HealthTracker: sys.HealthTracker(),
289+
Metrics: sys.UserMetricsRegistry(),
289290
DriveForLocal: driveimpl.NewFileSystemForLocal(logf),
290291
})
291292
if err != nil {

0 commit comments

Comments
 (0)