-
Notifications
You must be signed in to change notification settings - Fork 451
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
Route / Ingress for OTLP gRPC does not work #1969
Comments
cc) @frzifus |
gRPC stuff did not work with Also you need to adapt your exporter configuration: exporters:
otlp:
endpoint: otlp-grpc.apps-crc.testing:443
tls:
insecure: false I wonder why the |
When the path is set the collector returns the following error. It seems that it cannot parse the port properly 2023-07-28T08:45:09.701Z warn zapgrpc/zapgrpc.go:195 [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: "otlp-grpc.apps-crc.testing:443/otlp-grpc", ServerName: "otlp-grpc.apps-crc.testing:443/otlp-grpc", }. Err: connection error: desc = "transport: Error while dialing: dial tcp: address tcp/443/otlp-grpc: unknown port" {"grpc_log": true} I made it work by:
exporters:
otlp:
endpoint: https://otlp-grpc.apps-crc.testing:443
tls:
insecure: false
insecure_skip_verify: true |
It seems that the operator is always setting the path
|
I made it work as well for
exporters:
otlp:
endpoint: http://otlp-grpc.apps-crc.testing:80
tls:
insecure: true
insecure_skip_verify: false |
@frzifus I will unassign you I have started working on this |
Also it seems like the nginx does not support gRPC over plaintext kubernetes/ingress-nginx#3897 |
@pavolloffay this issue is resolved, right? |
In case this is still a thing, please re-open the issue. |
I was not able to send data to OpenShift route via OTLP gRPC
It creates following route
Collector to report data to the route
System:
./crc status ploffay@fedora CRC VM: Running OpenShift: Running (v4.11.18) RAM Usage: 13.53GB of 18.46GB Disk Usage: 25.71GB of 32.74GB (Inside the CRC VM) Cache Usage: 16.18GB Cache Directory: /home/ploffay/.crc/cache -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ~/bin/crc-linux-2.12.0-amd64 » ./crc version ploffay@fedora WARN A new version (2.23.0) has been published on https://developers.redhat.com/content-gateway/file/pub/openshift-v4/clients/crc/2.23.0/crc-linux-amd64.tar.xz CRC version: 2.12.0+74565a6 OpenShift version: 4.11.18 Podman version: 4.2.0
Based on #902 (comment) it should work for this OCP version.
The text was updated successfully, but these errors were encountered: