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

opentelemetry-otlp: Default the port correctly. #1556

Merged

Conversation

hdost
Copy link
Contributor

@hdost hdost commented Feb 18, 2024

Current behavior uses http-proto port even when there's no desire to use it.

Relates #1509

@hdost hdost requested a review from a team as a code owner February 18, 2024 07:44
@hdost hdost force-pushed the bug/1509-defaults-for-grpc-incorrect branch 3 times, most recently from 8aee214 to b714b28 Compare February 18, 2024 07:48
Copy link
Contributor

@TommyCpp TommyCpp left a comment

Choose a reason for hiding this comment

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

Should we add a unit test to prevent future regression?

Copy link
Member

@lalitb lalitb left a comment

Choose a reason for hiding this comment

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

LGTM. CI test is failing for missing import.

@hdost hdost force-pushed the bug/1509-defaults-for-grpc-incorrect branch from b714b28 to 4afe983 Compare February 18, 2024 08:58
Copy link

codecov bot commented Feb 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4c22cf6) 65.8% compared to head (4b478c8) 66.0%.

❗ Current head 4b478c8 differs from pull request most recent head 99bba7b. Consider uploading reports for the commit 99bba7b to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##            main   #1556     +/-   ##
=======================================
+ Coverage   65.8%   66.0%   +0.1%     
=======================================
  Files        140     140             
  Lines      19518   19524      +6     
=======================================
+ Hits       12854   12890     +36     
+ Misses      6664    6634     -30     

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

Current behavior uses http-proto port even when there's no desire to use
it.

Relates open-telemetry#1509

Signed-off-by: Harold Dost <h.dost@criteo.com>
@hdost hdost force-pushed the bug/1509-defaults-for-grpc-incorrect branch from 4afe983 to 4b478c8 Compare February 18, 2024 11:36
@hdost
Copy link
Contributor Author

hdost commented Feb 18, 2024

Tests added feel free to merge.

@cijothomas cijothomas merged commit 1169445 into open-telemetry:main Feb 18, 2024
12 of 13 checks passed
@hdost hdost deleted the bug/1509-defaults-for-grpc-incorrect branch February 18, 2024 22:07
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.

None yet

4 participants