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.
SpanExporter
@opentelemetry/sdk-trace-base
Optional
Called to export sampled ReadableSpans.
the list of sampled Spans to be exported.
Immediately export all spans
Stops the exporter.
Agent365 span exporter.
Implements
SpanExporterfrom@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.