@grow-codes/opentelemetry-collector - v0.1.1
    Preparing search index...

    Function withSpan

    • Runs fn inside a new active span and ends the span when fn returns or its promise settles. On a throw/rejection the exception is recorded, the status set to ERROR and the error rethrown.

      Type Parameters

      • T

      Parameters

      Returns T