Skip to content

Fix OtelLogRecordProcessor schedule#11315

Open
mcculls wants to merge 1 commit intomasterfrom
mcculls/fix-otlp-log-schedule
Open

Fix OtelLogRecordProcessor schedule#11315
mcculls wants to merge 1 commit intomasterfrom
mcculls/fix-otlp-log-schedule

Conversation

@mcculls
Copy link
Copy Markdown
Contributor

@mcculls mcculls commented May 7, 2026

What Does This Do

  • if we have enough logs for a batch, keep sending batched logs
  • otherwise wait for the interval to elapse, then send what we have

Motivation

Better alignment with OpenTelemetry SDK behaviour: https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk/logs/src/main/java/io/opentelemetry/sdk/logs/export/BatchLogRecordProcessor.java#L206

Contributor Checklist

Jira ticket: [PROJ-IDENT]

Note: Once your PR is ready to merge, add it to the merge queue by commenting /merge. /merge -c cancels the queue request. /merge -f --reason "reason" skips all merge queue checks; please use this judiciously, as some checks do not run at the PR-level. For more information, see this doc.

* if we have enough logs for a batch, keep sending batched logs
* otherwise wait for the interval to elapse, then send what we have
@mcculls mcculls added type: bug Bug report and fix inst: opentelemetry OpenTelemetry instrumentation labels May 7, 2026
@mcculls mcculls marked this pull request as ready for review May 7, 2026 23:11
@mcculls mcculls requested review from a team as code owners May 7, 2026 23:11
@mcculls mcculls requested review from dougqh and mtoffl01 and removed request for a team May 7, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

inst: opentelemetry OpenTelemetry instrumentation type: bug Bug report and fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant