microsoft.opentelemetry.a365.core.exporters.enriching_span_processor module
Span enrichment support for the Agent365 exporter pipeline.
Vendored from microsoft-agents-a365-observability-core exporters/enriching_span_processor.py.
- microsoft.opentelemetry.a365.core.exporters.enriching_span_processor.register_span_enricher(enricher)[source]
Register the span enricher for the active platform instrumentor.
Only one enricher can be registered at a time since auto-instrumentation is platform-specific (Semantic Kernel, LangChain, or OpenAI Agents).
Raises RuntimeError if an enricher is already registered.
- Return type:
- microsoft.opentelemetry.a365.core.exporters.enriching_span_processor.unregister_span_enricher()[source]
Unregister the current span enricher.
- Return type: