Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
Merge pull request #27 from wyb1/unify-rule-eval-and-scrape
Browse files Browse the repository at this point in the history
Increase the rule evaluation interval to 30s
  • Loading branch information
wyb1 authored May 9, 2022
2 parents 448e26b + 27485c2 commit f686a82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/connectivity-exporter/rules/error-budget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
groups:

- name: error_budget
interval: 10s
interval: 30s
rules:

- record: service:sli_seconds
# The expression clamps by the rule evaluation interval
expr: |
max by (sni, kind) (
clamp_max(
rate(connectivity_exporter_seconds_total{kind=~"failed|active_failed"}[1m]) * 10,
10
rate(connectivity_exporter_seconds_total{kind=~"failed|active_failed"}[2m]) * 30,
30
)
)
Expand Down

0 comments on commit f686a82

Please sign in to comment.