addJavaSpanProcessor

fun SdkApi.addJavaSpanProcessor(spanProcessor: OtelJavaSpanProcessor)(source)

Adds a OtelJavaSpanProcessor that will process OTel Spans after Embrace's internal processor. Processors must be added before the SDK has started or they will be ignored.