temporal
temporal copied to clipboard
Do not emit metrics when acquire shard r/w lock
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.

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
cc @tusharroy25 @paulnpdev
cc @yiminc