Optionalconfig?: BufferConfigThe configuration options for processor.
Readonlyexporter: SpanExporterThe exporter to pass spans to.
Optional ReadonlyspanFilter?: SpanFilterA filter to apply to spans before exporting. If it returns true for a given span, that span will be exported.
Protectedon
Extends BatchSpanProcessor to support OpenInference attributes. This processor enhances spans with OpenInference attributes before exporting them. It can be configured to selectively export only OpenInference spans or all spans.
Example