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

open-telemetry/transport-grpc throws exception if no "path" is set #1488

Open
Danielss89 opened this issue Jan 24, 2025 · 0 comments
Open

open-telemetry/transport-grpc throws exception if no "path" is set #1488

Danielss89 opened this issue Jan 24, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Danielss89
Copy link

Using open-telemetry/transport-grpc (1.1.0) i've set my config to: OTEL_EXPORTER_OTLP_ENDPOINT: http://otel-collector:4317
(I also tried with trailing /)
as i have the otel-collector running in another container. The otel-collector grpc receiver doesn't have a path and as such, i can't configure one.

The transport is hardcoded to throw an exception if no path is set:
https://github.com/opentelemetry-php/transport-grpc/blob/main/GrpcTransportFactory.php#L47

@Danielss89 Danielss89 added the bug Something isn't working label Jan 24, 2025
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

No branches or pull requests

1 participant