{
    "metric": {
       "type": "istio.io/service/server/connection_open_count",
       "labels": {
          "destination_canonical_revision": "v1",
          "destination_canonical_service_name": "srv",
          "destination_canonical_service_namespace": "{{ .EchoNamespace }}",
          "destination_owner": "kubernetes://apis/apps/v1/namespaces/{{ .EchoNamespace }}/deployments/srv-v1",
          "destination_port": "9000",
          "destination_principal": "spiffe://{{ .TrustDomain }}/ns/{{ .EchoNamespace }}/sa/default",
          "destination_service_name": "srv",
          "destination_service_namespace": "{{ .EchoNamespace }}",
          "destination_workload_name": "srv-v1",
          "destination_workload_namespace": "{{ .EchoNamespace }}",
          "mesh_uid": "proj-test-mesh",
          "request_protocol": "tcp",
          "source_canonical_revision": "v1",
          "source_canonical_service_name": "clt-{{ .ClusterName }}",
          "source_canonical_service_namespace": "{{ .EchoNamespace }}",
          "service_authentication_policy": "MUTUAL_TLS",
          "source_owner": "kubernetes://apis/apps/v1/namespaces/{{ .EchoNamespace }}/deployments/clt-{{ .ClusterName }}-v1",
          "source_principal": "spiffe://{{ .TrustDomain }}/ns/{{ .EchoNamespace }}/sa/default",
          "source_workload_name": "clt-{{ .ClusterName }}-v1",
          "source_workload_namespace": "{{ .EchoNamespace }}"
       }
    }{{- if .OnGCE  }},
    "resource": {
       "labels": {
          "container_name": "app",
          "namespace_name": "{{ .EchoNamespace }}"
       },
       "type": "k8s_container"
    }
    {{- end }}
}
