figcaption></figure><h3 id=workload-level-aggregation-via-recording-rules>Workload-level aggregation via recording rules</h3><p>In order to aggregate metrics across instances and pods, update the default Prometheus configuration with
the following recording rules:</p><pre><code class=language-yaml data-expandlinks=true data-repo=istio>groups:
- name: &#34;istio.recording-rules&#34;
  interval: 5s
  rules:
  - record: &#34;workload:istio_requests_total&#34;
    expr: |
      sum without(instance, namespace, 