Function getActiveSpanContext

  • The active span's context.

    Returns SpanContext | null

    The context, or null when no span is active or while content-safe telemetry is on.