Optionalconfig: node.BufferConfig | node.BatchSpanProcessorBrowserConfigForces to export all finished spans
Called when a ReadableSpan is ended, if the span.isRecording()
returns true.
the Span that just ended.
ProtectedonCalled when a Span is started, if the span.isRecording()
returns true.
Shuts down the processor. Called when SDK is shut down. This is an opportunity for processor to do any cleanup required.
A BatchSpanProcessor that applies
OTEL_*environment variable fallbacks per https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/