Posted this as an issue here :
Jaeger UI not showing traces between Microservice and MongoDB service when used with Istio 1.9.5 · Issue #33931 · istio/istio · GitHub
Our applications are running inside a Kubernetes Cluster with the configuration below. MongoDB is one of the applications running as a Statefulset with headless service in the cluster.
Kubernetes Version :
Server Version: version.Info{Major:“1”, Minor:“18”,GoVersion:“go1.13.9”, Compiler:“gc”, Platform:“linux/amd64”}
OS Version :
CentOS Linux 7
Istio Version :
1.9.5
We have recently deployed Istio Operator 1.9.5 using which Istiod and Istio Ingressgateway components were installed. Tracing is enabled in the meshConfig section and we are using Jaeger all-in-one as Trace Collector and Querier (Jaeger UI). Jaeger has been installed using the command below.
kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.9/samples/addons/jaeger.yaml -n istio-system
In the Jaeger UI (under services dropdown) we are able to see most of our services and their traces. The http calls between the microservices are traced but the calls from the Microservice to MongoDB service are not traced. Also, MongoDB related headless services are not appearing in the Services dropdown section (as in the Screenshot below).
Any help regarding the same would be appreciated.