stom-tags
spec:
  metrics:
    - overrides:
        - match:
            metric: REQUEST_COUNT
            mode: CLIENT_AND_SERVER
          tagOverrides:
            response_code:
              value: istio_responseClass
      providers:
        - name: prometheus
</code></pre></li><li><p>使用以下命令应用您的更改：</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ kubectl -n istio-system apply -f attribute_gen_service.yaml
</code></pre></li></ol><h2 id=verify-the-resul