@microsoft/opentelemetry
    Preparing search index...

    Class Agent365Exporter

    Agent365 span exporter.

    Implements SpanExporter from @opentelemetry/sdk-trace-base. Partitions spans by (tenantId, agentId), builds OTLP-like JSON payloads, and POSTs them to the Agent365 observability service with Bearer auth.

    Implements

    • SpanExporter
    Index

    Constructors

    Methods

    • Called to export sampled ReadableSpans.

      Parameters

      • spans: ReadableSpan[]

        the list of sampled Spans to be exported.

      • resultCallback: (result: ExportResult) => void

      Returns Promise<void>