Skip to content

Instantly share code, notes, and snippets.

View AndresPineros's full-sized avatar

Andrés Felipe Piñeros AndresPineros

View GitHub Profile
groups:
# These sum(irate()) functions are in separate groups, so they run in parallel
- name: istio.workload.istio_request_duration_milliseconds_bucket
interval: 10s
rules:
- record: workload:istio_request_duration_milliseconds_bucket:rate1m
expr: |
sum(irate(istio_request_duration_milliseconds_bucket{reporter="source", source_workload!=""}[1m]))
by (