temporal icon indicating copy to clipboard operation
temporal copied to clipboard

Do not emit metrics when acquire shard r/w lock

Open wxing1292 opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. CPU profiling shows that logic probably should not emitting metrics during / before acquisition of shard r/w lock. image

Describe the solution you'd like Either do not emit metrics when acquiring shard r/w lock or at least do sampling

Describe alternatives you've considered N/A

Additional context N/A

wxing1292 avatar Jul 12 '22 00:07 wxing1292

cc @tusharroy25 @paulnpdev

wxing1292 avatar Jul 12 '22 00:07 wxing1292

cc @yiminc

paulnpdev avatar Jul 13 '22 19:07 paulnpdev