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 41 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 92.15%. Comparing base (a7d019f) to head (245cac2).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10996   +/-   ##
=======================================
  Coverage   92.15%   92.15%           
=======================================
  Files         432      432           
  Lines       20253    20258    +5     
=======================================
+ Hits        18664    18669    +5     
  Misses       1228     1228           
  Partials      361      361           

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

@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?

@iblancasa
Copy link
Contributor Author

Can somebody from @open-telemetry/collector-approvers take a look? Thank you

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