Skip to content

Instantly share code, notes, and snippets.

@cherkaskyb
Created June 13, 2022 17:51
Show Gist options
  • Save cherkaskyb/28168c068b71716c6a933cb352a5cd19 to your computer and use it in GitHub Desktop.
Save cherkaskyb/28168c068b71716c6a933cb352a5cd19 to your computer and use it in GitHub Desktop.
sum(rate(http_requests_total(namesapce="my-namespace", service="my-service" response_code=~"[45].."))) by (namespace, service) > 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment