Skip to content

Instantly share code, notes, and snippets.

@frgaudet
Created May 14, 2021 14:08
Show Gist options
  • Save frgaudet/6341b605ab50596a699041a549ed33ed to your computer and use it in GitHub Desktop.
Save frgaudet/6341b605ab50596a699041a549ed33ed to your computer and use it in GitHub Desktop.
- expr: sum by(job) (rate(istio_requests_total{destination_app="my-app",response_code=~"5.*"}[1m]))
/ sum by(job) (rate(istio_requests_total{destination_app="my-app"}[1m]))
labels:
stack: my-app
type: availability
record: sli:ratio_failure_rate1m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment