instana / opentelemetry-demo

OpenTelemetry Community Demo Application with Instana
Apache License 2.0
8 stars 3 forks source link

Duplicate services displayed in Instana dependency map with Kubernetes #1

Open styblope opened 1 year ago

styblope commented 1 year ago

Some demo services (frontend, featureflag, quoteservice) appear as two differently named instances inside the Instana dependency map (for example "frontend" and "my-otel-demo-frontend"). It is because the actual service name (as defined via OTEL_SERVICE_NAME or INSTANA_SERVICE_NAME environment variables) does not match the Kubernetes service name. The second service shows up when Instana tries to infer the downstream service (by looking at the caller's exit span attributes) by the DNS hostname.

To remove the duplicities one of the following is possible: