Forces to export all finished spans
Called when a ReadableSpan is ended, 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.
Generated using TypeDoc
An implementation of the SpanProcessor that converts the Span to ReadableSpan and passes it to the configured exporter.
Only spans that are sampled are converted.
NOTE: This SpanProcessor exports every ended span individually instead of batching spans together, which causes significant performance overhead with most exporters. For production use, please consider using the BatchSpanProcessor instead.