measureSpannableMetric

Executes the given block while measuring the transaction.

Parameters

block

Action/Task to be executed within this span.