Agent365ExporterOptions interface

Options controlling the behavior of the Agent365 span exporter.

Properties

authScopes

OAuth scopes used during token resolution.

clusterCategory

Cluster category for endpoint resolution.

domainOverride

Override the A365 observability service domain.

exporterTimeoutMilliseconds

Maximum time (ms) for the entire export() call.

httpRequestTimeoutMilliseconds

Timeout (ms) per individual HTTP request. Each retry gets a fresh timeout.

maxExportBatchSize

Maximum number of spans per export batch.

maxPayloadBytes

Maximum estimated payload size (bytes) per HTTP chunk.

maxQueueSize

Maximum span queue size before drops occur.

scheduledDelayMilliseconds

Delay (ms) between automatic batch flush attempts.

tokenResolver

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