SpanProcessor and attach it to the OpenTelemetry TracerProvider.
- Python
on_start and on_end hooks of the inherited BatchSpanProcessor.Notice that this logic can be extended to modify a span and redact sensitive information if preserving the span is preferred.
