-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[chore] move from DialContext to NewClient #13663
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
Conversation
Codecov Report❌ Patch coverage is
❌ Your patch status has failed because the patch coverage (60.00%) is below the target coverage (95.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #13663 +/- ##
==========================================
- Coverage 92.10% 92.09% -0.02%
==========================================
Files 668 668
Lines 41377 41381 +4
==========================================
- Hits 38112 38110 -2
- Misses 2227 2231 +4
- Partials 1038 1040 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
songy23
left a comment
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.
|
Sorry for late, I added the condition to check whether the connection is established correctly |
|
Were you able to explicitly confirm that the issue in #11537 isn't reintroduced here? |
|
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
|
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
|
I'm marking this as "ready to merge" based on the number of approvals. |
|
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
|
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Merging this PR will not alter performance
|
|
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
|
Hi |
|
For this to be merged, the unit tests need to be fixed. |
|
Hi @sivchari, Thank you for working on this PR. We're looking forward to this change as it would benefit our project that uses the OpenTelemetry Collector. |
Signed-off-by: sivchari <shibuuuu5@gmail.com>
Signed-off-by: sivchari <shibuuuu5@gmail.com>
Signed-off-by: sivchari <shibuuuu5@gmail.com>
Per review feedback from @dmathieu, this test was testing go-grpc behavior rather than collector code. The fix in go-grpc has been confirmed, so this automated test is not necessary.
|
Sorry for late response, I missed comments. I removed test, so I think it's ok to be merged. |
b752ad3
Cannot be done in CI due to a new internal module in core. See https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/20846134948/job/59890092343 Extra changes: - Add temporary replace statements for go.opentelemetry.io/collector/internal/componentalias - Update Coralogix exporter tests after open-telemetry/opentelemetry-collector#13663
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Use grpc.NewClient instead of grpc.DialContext <!-- Issue number if applicable --> #### Link to tracking issue Fixes open-telemetry#13632 <!--Describe what testing was performed and which tests were added.--> #### Testing <!--Describe the documentation added.--> #### Documentation <!--Please delete paragraphs that you did not use before submitting.--> --------- Signed-off-by: sivchari <shibuuuu5@gmail.com>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Use grpc.NewClient instead of grpc.DialContext <!-- Issue number if applicable --> #### Link to tracking issue Fixes open-telemetry#13632 <!--Describe what testing was performed and which tests were added.--> #### Testing <!--Describe the documentation added.--> #### Documentation <!--Please delete paragraphs that you did not use before submitting.--> --------- Signed-off-by: sivchari <shibuuuu5@gmail.com>
Description
Use grpc.NewClient instead of grpc.DialContext
Link to tracking issue
Fixes #13632
Testing
Documentation