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

The default OTLP endpoint doesn't work for the OTLP exporter #986

Closed
ThomsonTan opened this issue Sep 21, 2021 · 0 comments · Fixed by #988
Closed

The default OTLP endpoint doesn't work for the OTLP exporter #986

ThomsonTan opened this issue Sep 21, 2021 · 0 comments · Fixed by #988
Labels
bug Something isn't working

Comments

@ThomsonTan
Copy link
Contributor

Steps to reproduce
Run otel-collect with OTLP listener on localhost:4317, and launch the gRPC example example_otlp_grpc.

What is the expected behavior?
The export should succeed and no error shows in the log.

What is the actual behavior?

[Error] File: ..\exporters\otlp\src\otlp_grpc_exporter.cc:118[OTLP Exporter] Export() failed: failed to connect to all addresses
[Error] File: ..\exporters\otlp\src\otlp_grpc_exporter.cc:118[OTLP Exporter] Export() failed: failed to connect to all addresses
[Error] File: ..\exporters\otlp\src\otlp_grpc_exporter.cc:118[OTLP Exporter] Export() failed: failed to connect to all addresses
[Error] File: ..\exporters\otlp\src\otlp_grpc_exporter.cc:118[OTLP Exporter] Export() failed: failed to connect to all addresses

Additional context
The URL scheme like http:// should be removed before passing to gRPC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant