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 53 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.59%. Comparing base (9c4c007) to head (2f02614).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10996   +/-   ##
=======================================
  Coverage   91.58%   91.59%           
=======================================
  Files         440      440           
  Lines       23765    23771    +6     
=======================================
+ Hits        21766    21772    +6     
  Misses       1627     1627           
  Partials      372      372           

☔ 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

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow for http2 connection to otlphttpreceiver for insecure connections
3 participants