-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[confighttp] Add option to disable HTTP keep-alives #8274
[confighttp] Add option to disable HTTP keep-alives #8274
Conversation
Please add a changelog entry. |
Codecov ReportPatch coverage is
📢 Thoughts on this report? Let us know!. |
e154a06
to
80f69ad
Compare
@bogdandrutu Could you take a look at this pull request? |
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.
This makes sense to me, the change seems pretty straightforward too.
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.
LGTM. Please rebase off main to fix the conflict.
6ef9dc4
to
bffd17c
Compare
@open-telemetry/collector-maintainers, I believe this is ready to be merged. |
bffd17c
to
50d445f
Compare
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.
@Aneurysm9 please take a look, the warning has been added.
I would prefer not to add this configuration option at all, but don't feel strongly enough to block this PR, so I'll simply decline to approve it. I'm not sure that logging a warning when this option is enabled would be more than noise. Hopefully someone enabling this option has a better understanding of their environment than we do and understands what they're buying. |
Description:
Add option to disable HTTP keep-alives which helps in better load balancing in k8s clusters when otlphttp exports are used to send logs to otlp receivers
Link to tracking Issue: #8260