Skip to content

Commit

Permalink
server: ensure the runtime stats sampler for tenants is annotated
Browse files Browse the repository at this point in the history
Release note: None
  • Loading branch information
knz committed Nov 11, 2021
1 parent e0f8caa commit c14ece7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/tenant.go
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ func makeTenantSQLServerArgs(

recorder := status.NewMetricsRecorder(clock, nil, rpcContext, nil, st)

runtime := status.NewRuntimeStatSampler(context.Background(), clock)
runtime := status.NewRuntimeStatSampler(startupCtx, clock)
registry.AddMetricStruct(runtime)

esb := &externalStorageBuilder{}
Expand Down

0 comments on commit c14ece7

Please sign in to comment.