Przejdź do głównej zawartości

Interface: RemoteDebugOptions

Configuration for the remote debug transport (DebugOptions.remote). All fields optional.

Properties

batchSize?

optional batchSize?: number

Flush the buffer once this many events accumulate. Default 10.


endpoint?

optional endpoint?: string

Ingest endpoint URL. Default ${apiUrl}/storefront/debug-logs.


flushIntervalMs?

optional flushIntervalMs?: number

Flush the buffer after this many milliseconds even if batchSize is not reached. Default 5000.


sdkVersion?

optional sdkVersion?: string

Optional client/build version label attached to every batch.


sessionId?

optional sessionId?: string

Correlation id grouping every event from one client instance. Default a generated id.