Skip to content

Instantly share code, notes, and snippets.

@russmiles
Created August 4, 2021 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save russmiles/e9ac568845cc60fa162faf90af891bd2 to your computer and use it in GitHub Desktop.
Save russmiles/e9ac568845cc60fa162faf90af891bd2 to your computer and use it in GitHub Desktop.
apiVersion: reliably.com/v1
kind: Objective
metadata:
labels:
name: 99% of requests over last 1 hour
service: my spring boot app
spec:
indicatorSelector:
prometheus_query: sum by (uri) (http_server_requests_seconds_count{status="200",uri="/"})
/ sum by (uri) (http_server_requests_seconds_count{uri="/"})
prometheus_url: http://localhost:9090
objectivePercent: 99
window: 1h0m0s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment