Microsoft.Agents.A365.Observability.Runtime.Tracing.Exporters Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Classes
| Name | Description |
|---|---|
| Agent365Exporter |
Minimal OTLP/HTTP JSON exporter for traces. Sends POST {Endpoint}/v1/traces with application/json. |
| Agent365ExporterAsync |
Minimal OTLP/HTTP JSON exporter for traces. Sends POST {Endpoint}/v1/traces with application/json. |
| Agent365ExporterCore |
Utility methods for Agent365 trace exporters. Provides helpers for partitioning activities and building endpoint URIs. |
| Agent365ExporterOptions |
Configuration for Agent365Exporter. Only TokenResolver is required for core operation. |
| BaseExporterAsync<T> |
Abstract base class for asynchronous exporters of telemetry objects. |
| ObservabilityTracerProviderBuilderExtensions |
Extension methods to add Agent365 Exporter to OpenTelemetry TracerProviderBuilder. |
| PayloadChunking |
Heuristic span size estimation and byte-level chunking for OTLP/HTTP JSON payloads. The Agent 365 OTLP traces endpoint enforces a 1 MB request body limit. Per-span truncation (250 KB cap inside ExportFormatter) prevents any single span from being too large; this class provides the second layer of defense at the batch level by splitting batches into sub-batches whose cumulative estimated size stays under MaxPayloadBytes. |
Enums
| Name | Description |
|---|---|
| Agent365ExporterType |
Represents the supported Agent365 exporter types. |
Delegates
| Name | Description |
|---|---|
| AsyncAuthTokenResolver |
Async delegate used by the exporter to obtain an auth token for a specific agent + tenant. Must be fast and non-blocking (use internal caching elsewhere). Return null/empty to omit the Authorization header. |
| TenantDomainResolver |
Delegate used by the exporter to resolve the endpoint host or URL for a given tenant id. The return value may be a bare host name (e.g. "agent365.svc.cloud.microsoft") or a full URL (e.g. "https://agent365.svc.cloud.microsoft"). |