 &lt;&lt;EOF &gt; ./custom_metrics.yaml
apiVersion: telemetry.istio.io/v1alpha1
kind: Telemetry
metadata:
  name: namespace-metrics
spec:
  metrics:
  - providers:
    - name: prometheus
    overrides:
    - match:
        metric: REQUEST_COUNT
      tagOverrides:
        destination_port:
          value: &#34;string(destination.port)&#34;
        request_host:
          value: &#34;request.host&#34;
EOF
$ kubectl apply -f custom_metrics.yaml
</code></pre><h2 id=verify-the-results>验证结果</h2><p>将�