Agent365ExporterOptions interface
Options controlling the behavior of the Agent365 span exporter.
Properties
| auth |
OAuth scopes used during token resolution. |
| cluster |
Cluster category for endpoint resolution. |
| domain |
Override the A365 observability service domain. |
| exporter |
Maximum time (ms) for the entire export() call. |
| http |
Timeout (ms) per individual HTTP request. Each retry gets a fresh timeout. |
| max |
Maximum number of spans per export batch. |
| max |
Maximum estimated payload size (bytes) per HTTP chunk. |
| max |
Maximum span queue size before drops occur. |
| scheduled |
Delay (ms) between automatic batch flush attempts. |
| token |
Token resolver for authentication. Required for batch export. |
| useS2SEndpoint | When true, use the S2S endpoint path (/observabilityService/...). |
Property Details
authScopes
OAuth scopes used during token resolution.
authScopes?: string[]
Property Value
string[]
clusterCategory
Cluster category for endpoint resolution.
clusterCategory?: ClusterCategory
Property Value
domainOverride
Override the A365 observability service domain.
domainOverride?: string
Property Value
string
exporterTimeoutMilliseconds
Maximum time (ms) for the entire export() call.
exporterTimeoutMilliseconds?: number
Property Value
number
httpRequestTimeoutMilliseconds
Timeout (ms) per individual HTTP request. Each retry gets a fresh timeout.
httpRequestTimeoutMilliseconds?: number
Property Value
number
maxExportBatchSize
Maximum number of spans per export batch.
maxExportBatchSize?: number
Property Value
number
maxPayloadBytes
Maximum estimated payload size (bytes) per HTTP chunk.
maxPayloadBytes?: number
Property Value
number
maxQueueSize
Maximum span queue size before drops occur.
maxQueueSize?: number
Property Value
number
scheduledDelayMilliseconds
Delay (ms) between automatic batch flush attempts.
scheduledDelayMilliseconds?: number
Property Value
number
tokenResolver
Token resolver for authentication. Required for batch export.
tokenResolver?: TokenResolver
Property Value
useS2SEndpoint
When true, use the S2S endpoint path (/observabilityService/...).
useS2SEndpoint?: boolean
Property Value
boolean