-
Notifications
You must be signed in to change notification settings - Fork 5k
Update OTLP exporters to use HTTP instead of gRPC #2697
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
base: main
Are you sure you want to change the base?
Changes from all commits
9353156
d16f507
00009bb
e2a5231
9d8101b
0966a6d
f5a5567
5b0dcfc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,3 +1,6 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # run from repo root | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # docker buildx build --platform linux/amd64,linux/arm64 -t appmonitoring.azurecr.io/demo-ad:1.0.0 --push -f ./src/ad/Dockerfile . | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Copyright The OpenTelemetry Authors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # SPDX-License-Identifier: Apache-2.0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
@@ -22,14 +25,14 @@ RUN ./gradlew installDist -PprotoSourceDir=./proto | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FROM eclipse-temurin:21-jre | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ARG OTEL_JAVA_AGENT_VERSION | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ARG _JAVA_OPTIONS | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ARG OTEL_JAVA_AGENT_VERSION | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ARG _JAVA_OPTIONS | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this env var is used by the Docker Compose: opentelemetry-demo/docker-compose.yml Lines 50 to 77 in 1e67b60
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| WORKDIR /usr/src/app/ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| COPY --from=builder /usr/src/app/ ./ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ADD --chmod=644 https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v$OTEL_JAVA_AGENT_VERSION/opentelemetry-javaagent.jar /usr/src/app/opentelemetry-javaagent.jar | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ENV JAVA_TOOL_OPTIONS=-javaagent:/usr/src/app/opentelemetry-javaagent.jar | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ADD --chmod=644 https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v$OTEL_JAVA_AGENT_VERSION/opentelemetry-javaagent.jar /usr/src/app/opentelemetry-javaagent.jar | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ENV JAVA_TOOL_OPTIONS=-javaagent:/usr/src/app/opentelemetry-javaagent.jar | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this comment removing the OTel Java Autoinstr agent from the Docker image? I think we need it |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| EXPOSE ${AD_PORT} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ENTRYPOINT [ "./build/install/opentelemetry-demo-ad/bin/Ad" ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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.
Is this comment desired or is it a development thing?