Creates a span. This span is not set as active, so will not get automatic instrumentation spans
as children or be able to be accessed via Sentry.getActiveSpan().
If you want to create a span that is set as active, use startSpan.
This function will always return a span,
it may just be a non-recording span if the span is not sampled or if tracing is disabled.
Creates a span. This span is not set as active, so will not get automatic instrumentation spans as children or be able to be accessed via
Sentry.getActiveSpan().If you want to create a span that is set as active, use startSpan.
This function will always return a span, it may just be a non-recording span if the span is not sampled or if tracing is disabled.