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

issue in connecting otel-agent from java through docker #9714

Closed
chhavi-gupta-maxeda opened this issue Oct 19, 2023 · 2 comments
Closed

issue in connecting otel-agent from java through docker #9714

chhavi-gupta-maxeda opened this issue Oct 19, 2023 · 2 comments
Labels
needs author feedback Waiting for additional feedback from the author stale

Comments

@chhavi-gupta-maxeda
Copy link

Please help!

Received a lot of error:
[otel.javaagent 2023-10-19 07:28:04:430 +0000] [OkHttp http://172.17.0.1:9080/...] WARN io.opentelemetry.exporter.internal.grpc.GrpcExporter - Failed to export spans. Server responded with gRPC status code 2. Error message: Failed to connect to /172.17.0.1:9080

configuration in dockerfile file:
RUN curl --create-dirs -sSL -o /path/to/splunk-otel-javaagent.jar 'https://github.com/signalfx/splunk-otel-java/releases/download/v1.28.0/splunk-otel-javaagent.jar'
CMD OTEL_EXPORTER_OTLP_ENDPOINT="http://172.17.0.1:9080" java -javaagent:"/path/to/splunk-otel-javaagent.jar"

@laurit
Copy link
Contributor

laurit commented Oct 19, 2023

Verify that your container can connect to 172.17.0.1:9080 and that otel collector grpc endpoint is listening on that port.

@laurit laurit added the needs author feedback Waiting for additional feedback from the author label Oct 20, 2023
@github-actions
Copy link
Contributor

This has been automatically marked as stale because it has been marked as needing author feedback and has not had any activity for 7 days. It will be closed automatically if there is no response from the author within 7 additional days from this comment.

@github-actions github-actions bot added the stale label Oct 27, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs author feedback Waiting for additional feedback from the author stale
Projects
None yet
Development

No branches or pull requests

2 participants