Skip to content

Commit 1b4f502

Browse files
committed
fixup! feat: add prometheus metric for tracking user statuses
1 parent 3cf9980 commit 1b4f502

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ func enablePrometheus(
218218
}
219219
afterCtx(ctx, closeActiveUsersFunc)
220220

221-
closeUsersFunc, err := prometheusmetrics.Users(ctx, options.Logger.Named("user_metrics"), options.Clock, options.PrometheusRegistry, options.Database, 0)
221+
closeUsersFunc, err := prometheusmetrics.Users(ctx, options.Logger.Named("user_metrics"), quartz.NewReal(), options.PrometheusRegistry, options.Database, 0)
222222
if err != nil {
223223
return nil, xerrors.Errorf("register users prometheus metric: %w", err)
224224
}

0 commit comments

Comments
 (0)