-
Notifications
You must be signed in to change notification settings - Fork 900
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update LogRecord batching processor behavior description #4409
base: main
Are you sure you want to change the base?
Conversation
|
…scription of maxExportBatchSize consistent with Trace for clarity
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you sign the CLA?
Hopefully soon yes, waiting on it. |
…ded for previous format then not cleaned up correctly)
…cation into issue-4402
Please also update the PR description as it is outdated. |
- `scheduledDelayMillis` after the processor is constructed OR the first `LogRecord` | ||
is received by the log record processor. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why would we want to have the 2nd part? Asking this question more coming from "why do we want to have complex rules instead of simple rules".
- the first
LogRecord
is received by the log record processor.
The processor SHOULD export a batch when any of the following happens AND the | ||
previous export call has returned: | ||
|
||
- `scheduledDelayMillis` after the processor is constructed OR the first `LogRecord` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the first
LogRecord
is received by the log record processor.
Why export when first record is received 🤔 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that the original author meant "delay after first record'. Probably this could be clarified, but I do not feel it has to be done in this PR.
Fixes #4402
Changes
maxExportBatchSize
to provide more information.Shutdown is called
guidance in Trace and Logs.