measureSpan

inline fun List<SpannableMetricPlugin>.measureSpan(operation: String, description: String, block: () -> Unit)

Executes the given block while measuring a span.

Parameters

operation

Name of the new span.

description

Description of the new span.

block

Action/Task to be executed within this span.