Skip to content
Snippets Groups Projects
Verified Commit 971a2dbe authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(mastodon): Add SLO for sidekiq processing

parent c456f7ef
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,19 @@ metadata:
spec:
service: "mastodon"
slos:
- name: "sidekiq-failures"
objective: 95
description: "Mastodon: SLO based on failed jobs in sidekiq."
sli:
events:
errorQuery: (sum(rate(sidekiq_failed_jobs_total{namespace="mastodon"}[{{.window}}]))
totalQuery: sum(rate(sidekiq_processed_jobs_total{namespace="mastodon"}[{{.window}}]) + rate(sidekiq_failed_jobs_total{namespace="mastodon"}[{{.window}}]))
alerting:
name: MastodonSidekiqProccessingHighErrorRate
labels:
category: "availability"
annotations:
summary: "High sidekiq job failure rate for Mastodon"
- name: "requests-availability"
objective: 98
description: "Mastodon: SLO based on availability for HTTP request responses."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment