Skip to content

Define defaults for the LogRecord batching processor #2954

@alanwest

Description

@alanwest

The default values for the parameters of the LogRecord batching processor are marked TODO.

I propose to adopt the same defaults as the Span batching processor.

maxQueueSize: 2048
scheduledDelayMillis: 5000
exportTimeoutMillis: 30000
maxExportBatchSize: 512

If folks feel defaults should differ between spans and logs, can you suggest any specific investigations that would lead us to a better informed set of defaults?

Metadata

Metadata

Labels

[label deprecated] triaged-accepted[label deprecated] Issue triaged and accepted by OTel community, can proceed with creating a PRarea:sdkRelated to the SDKspec:logsRelated to the specification/logs directory

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions