#39;
  kubernetes_sd_configs:
  - role: pod
    namespaces:
      names: [&#39;istio-system&#39;]
  metric_relabel_configs:
  - source_labels: [__name__]
    regex: &#39;workload:(.*)&#39;
    target_label: __name__
    action: replace
  params:
    &#39;match[]&#39;:
    - &#39;{__name__=~&#34;workload:(.*)&#34;}&#39;
    - &#39;{__name__=~&#34;pilot(.*)&#34;}&#39;</code></pre><p>如果您使用的是 <a href=https://github.com/coreos/prometheus-operator>Prometheus Operator</a>，请使用以下的配置�