@microsoft/opentelemetry
    Preparing search index...

    Class A365SpanProcessor

    Copies relevant baggage entries to span attributes on span start.

    This is the "automatic" counterpart to the manual scope API — it ensures every span in the pipeline gets agent identity attributes from baggage without explicitly creating scopes.

    Implements

    • SpanProcessor
    Index

    Constructors

    Methods

    • Called when a span is started. Copies relevant baggage entries to span attributes.

      Parameters

      • span: Span
      • OptionalparentContext: Context

      Returns void