Change tracing service name

There’s a way to change the service name in tracing?
The service name sent to Zipkin is “my-app-deployment-name.k8s-my-namespace” but I want to be just “my-app-deployment-name” (istio.canonical_service). The reason is to be in sync with my apps generated service names.
Thank you.

The following does the trick:

meshConfig:
  defaultConfig:
    tracing:
      custom_tags:
        service.name:
          environment:
            name: CANONICAL_SERVICE
1 Like

Able to get this work using ProxyConfig.TracingServiceName: https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#ProxyConfig-TracingServiceName

Istio version 1.19.4