Skip to content

Commit

Permalink
Merge pull request #804 from cloudflare/prymitive-patch-1
Browse files Browse the repository at this point in the history
Add more test rules
  • Loading branch information
prymitive authored Dec 7, 2023
2 parents 0d6a26c + d11fcb0 commit 71051b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/pint/rules/1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ groups:

- alert: Service Is Down
expr: up{job="abc"} == 0

- alert: Everything Is Down
expr: up:sum == 0
5 changes: 5 additions & 0 deletions .github/pint/rules/2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
groups:
- name: test
rules:
- record: up:sum
expr: sum(up)

0 comments on commit 71051b5

Please sign in to comment.