Otel unable to recieve data with Istio Service Mesh from instrumentated services #11875
Closed as not planned
Closed as not planned
Description
I am trying to get the Open Telemetry Collector to recieve traces for a Node Express application, I added debug logging on and I see the following error. This is on a kubernetes cluster with an Istio service mesh. I have attempted to use the 4317 and 4318 ports but I continually see the same errors and no data going to the otel collector.
{"stack":"Error: 14 UNAVAILABLE: No connection established\n at Object.callErrorFromStatus (/usr/src/app/node_modules/@grpc/grpc-js/build/src/call.js:31:26)\n at Object.onReceiveStatus (/usr/src/app/node_modules/@grpc/grpc-js/build/src/client.js:189:52)\n at Object.onReceiveStatus (/usr/src/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:365:141)\n at Object.onReceiveStatus (/usr/src/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:328:181)\n at /usr/src/app/node_modules/@grpc/grpc-js/build/src/call-stream.js:187:78\n at processTicksAndRejections (internal/process/task_queues.js:77:11)","message":"14 UNAVAILABLE: No connection established","code":"14","details":"No connection established","metadata":"[object Object]","name":"Error"}
and this in the istio proxy log
{"user_agent":null,"upstream_local_address":"10.200.153.198:41062","bytes_received":418,"upstream_transport_failure_reason":null,"route_name":null,"path":null,"istio_policy_status":null,"authority":null,"response_flags":"-","downstream_remote_address":"10.200.153.198:34254","request_id":null,"x_forwarded_for":null,"method":null,"upstream_host":"10.200.214.67:4318","downstream_local_address":"100.68.177.139:4318","requested_server_name":null,"start_time":"2022-07-01T19:24:15.055Z","protocol":null,"trace_id":null,"duration":1,"upstream_service_time":null,"response_code":0,"upstream_cluster":"outbound|4318||opentelemetry-collector.opentelemetry.svc.cluster.local","bytes_sent":103}
I have tried 4317 and 4318 ports and also added a destination rule to try and help but nothing seems to work 😭