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
Open

Add more explanation and examples for logbackBatchingSettings #1403

blakeli0 opened this issue Nov 1, 2024 · 0 comments
Assignees
Labels
api: logging Issues related to the googleapis/java-logging-logback API. priority: p2 Moderately-important priority. 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
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: p2 Moderately-important priority. Fix may not be included in next release. type: docs Improvement to the documentation for an API.
Projects
None yet
Development

No branches or pull requests

2 participants