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

[otlphttpreceiver] Allow H2C connections to otlp http receiver #10996

Open
wants to merge 27 commits into
base: main
Choose a base branch
from

Conversation

iblancasa
Copy link
Contributor

Description

Allow H2C connections to otlp http receiver

Fixes #10952

Copy link

codecov bot commented Aug 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.47%. Comparing base (52e11ec) to head (6bb2a59).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10996   +/-   ##
=======================================
  Coverage   91.47%   91.47%           
=======================================
  Files         424      424           
  Lines       20206    20211    +5     
=======================================
+ Hits        18484    18489    +5     
  Misses       1339     1339           
  Partials      383      383           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Israel Blancas <iblancas@redhat.com>
@iblancasa iblancasa marked this pull request as ready for review August 30, 2024 13:39
@iblancasa iblancasa requested review from a team and djaglowski August 30, 2024 13:39
@iblancasa iblancasa requested a review from a team as a code owner September 19, 2024 11:07
@iblancasa
Copy link
Contributor Author

@djaglowski could you take a look?

Copy link
Member

@jpkrohling jpkrohling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this should be opt-in, and have a log warning stating that this is a "weird" configuration. Only very specific setups have a valid reason to have this enabled, such as sidecars terminating TLS right before handing over to the main container.

config/confighttp/confighttp.go Show resolved Hide resolved
@iblancasa
Copy link
Contributor Author

Is there anything else pending from this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow for http2 connection to otlphttpreceiver for insecure connections
2 participants