• Public
  • Public/Protected
  • All

Interface configuration for BatchSpanProcessor on browser




disableAutoFlushOnDocumentHide?: boolean

Disable flush when a user navigates to a new page, closes the tab or the browser, or, on mobile, switches to a different app. Auto flush is enabled by default.

exportTimeoutMillis?: number

How long the export can run before it is cancelled. The default value is 30000ms

maxExportBatchSize?: number

The maximum batch size of every export. It must be smaller or equal to maxQueueSize. The default value is 512.

maxQueueSize?: number

The maximum queue size. After the size is reached spans are dropped. The default value is 2048.

scheduledDelayMillis?: number

The delay interval in milliseconds between two consecutive exports. The default value is 5000ms.

Generated using TypeDoc