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

Fix command in v2 example #6134

Merged
merged 2 commits into from
Oct 28, 2024
Merged

Conversation

haoqixu
Copy link
Contributor

@haoqixu haoqixu commented Oct 28, 2024

Which problem is this PR solving?

The component.UseLocalHostAsDefaultHost gate has been removed from otel collector since v0.112.0. The example failed to start jaeger because of the invalid argument.

Description of the changes

  • Remove the invalid command line argument.
  • Set endpoints for otlpreceiver explicitly.

Checklist

The `component.UseLocalHostAsDefaultHost` gate has been removed from
otel collector since v0.112.0.

Set endpoints for otlpreceiver explicitly.

Signed-off-by: haoqixu <[email protected]>
@haoqixu haoqixu requested a review from a team as a code owner October 28, 2024 11:33
@dosubot dosubot bot added docker Pull requests that update Docker code v2 labels Oct 28, 2024
@yurishkuro yurishkuro enabled auto-merge (squash) October 28, 2024 17:32
@yurishkuro yurishkuro merged commit e327edb into jaegertracing:main Oct 28, 2024
50 checks passed
Copy link

codecov bot commented Oct 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.43%. Comparing base (cc057a5) to head (26e8d16).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6134      +/-   ##
==========================================
+ Coverage   96.21%   96.43%   +0.22%     
==========================================
  Files         353      353              
  Lines       20135    20135              
==========================================
+ Hits        19372    19417      +45     
+ Misses        580      533      -47     
- Partials      183      185       +2     
Flag Coverage Δ
badger_v1 8.32% <ø> (ø)
badger_v2 1.68% <ø> (ø)
cassandra-4.x-v1 14.39% <ø> (ø)
cassandra-4.x-v2 1.62% <ø> (ø)
cassandra-5.x-v1 14.39% <ø> (ø)
cassandra-5.x-v2 1.62% <ø> (ø)
elasticsearch-6.x-v1 18.50% <ø> (ø)
elasticsearch-7.x-v1 18.59% <ø> (ø)
elasticsearch-8.x-v1 18.75% <ø> (-0.01%) ⬇️
elasticsearch-8.x-v2 1.68% <ø> (+0.01%) ⬆️
grpc_v1 9.53% <ø> (ø)
grpc_v2 7.01% <ø> (ø)
kafka-v1 8.88% <ø> (?)
kafka-v2 1.68% <ø> (ø)
memory_v2 1.68% <ø> (+0.01%) ⬆️
opensearch-1.x-v1 18.63% <ø> (-0.01%) ⬇️
opensearch-2.x-v1 18.63% <ø> (-0.01%) ⬇️
opensearch-2.x-v2 1.68% <ø> (+0.01%) ⬆️
tailsampling-processor 0.47% <ø> (ø)
unittests 95.34% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@haoqixu haoqixu deleted the chore-fix-example branch October 29, 2024 03:24
Insomniac2904 pushed a commit to Insomniac2904/jaeger that referenced this pull request Oct 29, 2024
## Which problem is this PR solving?
The `component.UseLocalHostAsDefaultHost` gate has been removed from
otel collector since v0.112.0. The example failed to start `jaeger`
because of the invalid argument.

## Description of the changes
- Remove the invalid command line argument.
- Set endpoints for `otlpreceiver` explicitly.

## Checklist
- [x] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [x] I have signed all commits
- [ ] I have added unit tests for the new functionality
- [ ] I have run lint and test steps successfully
  - for `jaeger`: `make lint test`
  - for `jaeger-ui`: `yarn lint` and `yarn test`

Signed-off-by: haoqixu <[email protected]>
Co-authored-by: Yuri Shkuro <[email protected]>
Signed-off-by: Insomniac2904 <[email protected]>
yurishkuro added a commit to yurishkuro/jaeger that referenced this pull request Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:bugfix-or-minor-feature docker Pull requests that update Docker code v2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants