Skip to content
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

Add more explanation and examples for logbackBatchingSettings #1403

Open
blakeli0 opened this issue Nov 1, 2024 · 0 comments · May be fixed by #1436
Open

Add more explanation and examples for logbackBatchingSettings #1403

blakeli0 opened this issue Nov 1, 2024 · 0 comments · May be fixed by #1436
Assignees
Labels
api: logging Issues related to the googleapis/java-logging-logback API. priority: p3 Desirable enhancement or fix. May not be included in next release. type: docs Improvement to the documentation for an API.

Comments

@blakeli0
Copy link

blakeli0 commented Nov 1, 2024

Below is an example configuration for logbackBatchingSettings in the usage section in README.

<logbackBatchingSettings>
      <elementCountThreshold>100</elementCountThreshold>
      <requestByteThreshold>1000</requestByteThreshold>
      <delayThreshold>500</delayThreshold>
      <maxOutstandingElementCount>10000</maxOutstandingElementCount>
      <maxOutstandingRequestBytes>100000</maxOutstandingRequestBytes>
      <limitExceededBehavior>Ignore</limitExceededBehavior>
</logbackBatchingSettings> 

There are very little information regarding what exactly does each configuration mean, what are the possible problems if they are not properly configured and how to tweak them to improve the performance. Hence customers are usually staying with the defaults that are not optimized for high throughput scenarios.

@blakeli0 blakeli0 added priority: p2 Moderately-important priority. Fix may not be included in next release. type: docs Improvement to the documentation for an API. labels Nov 1, 2024
@product-auto-label product-auto-label bot added the api: logging Issues related to the googleapis/java-logging-logback API. label Nov 1, 2024
@cindy-peng cindy-peng added priority: p3 Desirable enhancement or fix. May not be included in next release. and removed priority: p2 Moderately-important priority. Fix may not be included in next release. labels Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: logging Issues related to the googleapis/java-logging-logback API. priority: p3 Desirable enhancement or fix. May not be included in next release. type: docs Improvement to the documentation for an API.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants