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

chore: add OTEL_COLLECTOR_PORT env for frontendproxy to support 1.4 image #981

Conversation

chigia001
Copy link
Contributor

@chigia001 chigia001 commented Jul 17, 2023

Changes

Since #938 we has rename OTEL_COLLECTOR_PORT to OTEL_COLLECTOR_PORT_GRPC, this make our docker-compose.yml incompatiple with https://ghcr.io/open-telemetry/demo:1.4-frontendproxy publish image. This cause new user that try to setup with docker compose up --no-build fail to start.

This PR introduce back OTEL_COLLECTOR_PORT but only in

  • docker-compose.yml
  • docker-compose.minimal.yml
  • kubernetes/opentelemetry-demo.yaml

This should fixes #971

We should remove these env after 1.5 is release

Merge Requirements

For new features contributions please make sure you have completed the following
essential items:

  • CHANGELOG.md updated to document new feature additions
  • Appropriate documentation updates in the [docs][]
  • Appropriate Helm chart updates in the [helm-charts][]

@chigia001 chigia001 requested a review from a team July 17, 2023 13:38
@chigia001 chigia001 force-pushed the fix-docker-compose-compatiple-1.4 branch 2 times, most recently from ee7203d to 8a45d39 Compare July 17, 2023 13:45
@chigia001 chigia001 force-pushed the fix-docker-compose-compatiple-1.4 branch from 8a45d39 to 71386cd Compare July 17, 2023 13:53
Copy link
Member

@julianocosta89 julianocosta89 left a comment

Choose a reason for hiding this comment

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

LGTM

@chigia001
Copy link
Contributor Author

chigia001 commented Jul 17, 2023

I'm not sure how to handle these two piece:
https://github.com/open-telemetry/opentelemetry-demo/pull/938/files#diff-ae1d92956fbd881ba6b41b22d2b5a068dc91d0635258bf89872d7bbfd962a8ccL7764
and
https://github.com/open-telemetry/opentelemetry-demo/pull/938/files#diff-e9cbb0224c4a3d23a6019ba557e0cd568c1ad5e1582ff1e335fb7d99b7a1055dR15

If the developer run with 1.4.0-frontendproxy publised image, this endpoint will not work. So the cluster will start successfully but unable to collect any span for front end :(

Should we also revert these change and only update to /oltp-http/ after 1.5 is release?

@chigia001
Copy link
Contributor Author

Close this in favor of a new published image

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.

docker compose up --no-build can't run
2 participants