Fix BatchLogRecordProcessor default schedule_delay_millis to 1000ms per OTel spec#4998
Open
Manvi2402 wants to merge 4 commits intoopen-telemetry:mainfrom
Open
Fix BatchLogRecordProcessor default schedule_delay_millis to 1000ms per OTel spec#4998Manvi2402 wants to merge 4 commits intoopen-telemetry:mainfrom
Manvi2402 wants to merge 4 commits intoopen-telemetry:mainfrom
Conversation
pmcollins
reviewed
Mar 18, 2026
Member
pmcollins
left a comment
There was a problem hiding this comment.
Thanks for the change. Can you also update the default value in the docstring for OTEL_BLRP_SCHEDULE_DELAY (in environment_variables/__init__.py)?
Contributor
Author
|
Hi @pmcollins , I've made both the requested changes — updated the CHANGELOG wording and the OTEL_BLRP_SCHEDULE_DELAY docstring default to 1000ms. Please let me know if anything else is needed! |
Contributor
Author
|
Thank you for the detailed review @themavik . Agreed on the performance/rate-limit docs — that feels like a separate issue. Happy to open one if that would be helpful! |
pmcollins
approved these changes
Mar 19, 2026
xrmx
reviewed
Mar 19, 2026
xrmx
approved these changes
Mar 20, 2026
herin049
approved these changes
Mar 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…er OTel spec
Description
The
BatchLogRecordProcessor._DEFAULT_SCHEDULE_DELAY_MILLISwas set to5000ms, but the OTel specification defines
OTEL_BLRP_SCHEDULE_DELAYdefault as 1000ms.
Fixes #4991
Type of change
How Has This Been Tested?
Updated existing unit tests in
opentelemetry-sdk/tests/logs/test_export.pyto reflect the corrected default value of 1000ms instead of 5000ms.
Does This PR Require a Contrib Repo Change?
Checklist: