Share via


Agent365ExporterOptions class

Maximum number of spans per export batch.

Properties

clusterCategory

Environment / cluster category (e.g. ClusterCategory.preprod, ClusterCategory.prod).

exporterTimeoutMilliseconds

Maximum time (ms) the BatchSpanProcessor waits for the entire export() call to complete.

httpRequestTimeoutMilliseconds

Timeout (ms) for each individual HTTP request to the observability backend. Each retry attempt gets a fresh timeout.

maxExportBatchSize

Maximum number of spans per export batch.

maxQueueSize

Maximum span queue size before new spans are dropped.

scheduledDelayMilliseconds

Delay (ms) between automatic batch flush attempts.

tokenResolver

Optional delegate to resolve auth token used by exporter

useS2SEndpoint

When true, use S2S endpoint path for export.

Property Details

clusterCategory

Environment / cluster category (e.g. ClusterCategory.preprod, ClusterCategory.prod).

clusterCategory: string

Property Value

string

exporterTimeoutMilliseconds

Maximum time (ms) the BatchSpanProcessor waits for the entire export() call to complete.

exporterTimeoutMilliseconds: number

Property Value

number

httpRequestTimeoutMilliseconds

Timeout (ms) for each individual HTTP request to the observability backend. Each retry attempt gets a fresh timeout.

httpRequestTimeoutMilliseconds: number

Property Value

number

maxExportBatchSize

Maximum number of spans per export batch.

maxExportBatchSize: number

Property Value

number

maxQueueSize

Maximum span queue size before new spans are dropped.

maxQueueSize: number

Property Value

number

scheduledDelayMilliseconds

Delay (ms) between automatic batch flush attempts.

scheduledDelayMilliseconds: number

Property Value

number

tokenResolver

Optional delegate to resolve auth token used by exporter

tokenResolver?: TokenResolver

Property Value

TokenResolver

useS2SEndpoint

When true, use S2S endpoint path for export.

useS2SEndpoint: boolean

Property Value

boolean