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

fix(mastodon): Fix error query in SLO

parent 8a233fe2
Branches
Tags
No related merge requests found
...@@ -11,7 +11,7 @@ spec: ...@@ -11,7 +11,7 @@ spec:
description: "Mastodon: SLO based on failed jobs in sidekiq." description: "Mastodon: SLO based on failed jobs in sidekiq."
sli: sli:
events: events:
errorQuery: (sum(rate(sidekiq_failed_jobs_total{namespace="mastodon"}[{{.window}}])) 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}}])) totalQuery: sum(rate(sidekiq_processed_jobs_total{namespace="mastodon"}[{{.window}}]) + rate(sidekiq_failed_jobs_total{namespace="mastodon"}[{{.window}}]))
alerting: alerting:
name: MastodonSidekiqProccessingHighErrorRate name: MastodonSidekiqProccessingHighErrorRate
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment