Forces to export all finished spans
Called when a ReadableSpan is ended, if the span.isRecording()
returns true.
Experimental
Called when a Span is ending, if the span.isRecording()
returns true.
the Span that is ending.
This method is experimental and may break in minor versions of this package
Called 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.
Span processor that fills the Datadog error attributes just before a span ends, from its last
exceptionevent (exception.type,exception.message,exception.stacktrace) or, for an ERROR status without an event, from the status message. Attributes already set are kept. It coverswithSpan,traced, the HTTP adapters and plain OpenTelemetryrecordExceptioncalls.initTracinginstalls it.