sion: config.istio.io/v1alpha2
kind: instance
metadata:
  name: requestduration
  namespace: istio-system
spec:
  compiledTemplate: metric
  params:
    value: response.duration | &#34;0ms&#34;
    dimensions:
      destination_service: destination.service.host | &#34;unknown&#34;
      destination_version: destination.labels[&#34;version&#34;] | &#34;unknown&#34;
      response_code: response.code | 200
    monitored_resource_type: &#39;&#34;UNSPECIFIED&#34;&#39;
</code></pre><p>请注意，需要在映射