Optional
batchNumber of logs to batch before sending. Higher values reduce network overhead but increase latency.
Optional
circuitCircuit breaker reset timeout in milliseconds. Time to wait before attempting to close circuit.
Optional
circuitCircuit breaker threshold. Opens circuit after this many consecutive failures.
Optional
compressEnable gzip compression for request body. Reduces bandwidth but adds CPU overhead in worker.
Optional
enabledWhether the transport is enabled.
Optional
endpointHTTP endpoint URL for log submission.
Optional
flushMaximum time to wait before flushing batch (milliseconds). Ensures logs are sent even if batch size isn't reached.
Optional
headersCustom HTTP headers.
Optional
maxMaximum size of the internal buffer in worker. Older entries are dropped when exceeded.
Optional
maxMaximum retries for failed requests. Uses exponential backoff between retries.
Optional
methodHTTP method to use.
Optional
nameTransport name for identification.
Optional
retryInitial retry delay in milliseconds. Doubles with each retry (exponential backoff).
Optional
timeoutRequest timeout in milliseconds.
Optional
urlAlias for endpoint for backward compatibility.
Configuration options for HTTPWorkerTransport.
HTTPTransportOptions