Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ironoa committed Aug 19, 2022
1 parent 34e20d2 commit 1d621e1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/prometheus/alertrules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ tests:
name: node0
address: Gt6HqWBhdu4Sy1u8ASTbS1qf2Ac5gwdegwr8tWN8saMxPt5
network: kusama
environment: production
exp_annotations:
message: 'Target <a href="https://kusama.subscan.io/validator/Gt6HqWBhdu4Sy1u8ASTbS1qf2Ac5gwdegwr8tWN8saMxPt5">node0</a> has either not authored any block or sent any heartbeat yet in this session. It is risking to be caught offline'
- eval_time: 12m # Values: 0 0 1 1 1 1 1 1 1 1 1 1
Expand All @@ -44,6 +45,7 @@ tests:
name: node0
network: kusama
address: Gt6HqWBhdu4Sy1u8ASTbS1qf2Ac5gwdegwr8tWN8saMxPt5
environment: production
exp_annotations:
message: 'Target <a href="https://kusama.subscan.io/validator/Gt6HqWBhdu4Sy1u8ASTbS1qf2Ac5gwdegwr8tWN8saMxPt5">node0</a> has either not authored any block or sent any heartbeat yet in this session. It is risking to be caught offline'
- eval_time: 13m # Values: 0 0 1 1 1 1 1 1 1 1 1 1 0
Expand All @@ -63,6 +65,7 @@ tests:
name: node0
address: Gt6HqWBhdu4Sy1u8ASTbS1qf2Ac5gwdegwr8tWN8saMxPt5
network: kusama
environment: production
exp_annotations:
message: 'Target <a href="https://kusama.subscan.io/account/Gt6HqWBhdu4Sy1u8ASTbS1qf2Ac5gwdegwr8tWN8saMxPt5">node0</a> is not present in the current validation active set because it has not been selected by Phragmen'

Expand All @@ -79,6 +82,7 @@ tests:
name: node0
address: Gt6HqWBhdu4Sy1u8ASTbS1qf2Ac5gwdegwr8tWN8saMxPt5
network: kusama
environment: production
exp_annotations:
message: 'Target <a href="https://kusama.subscan.io/validator/Gt6HqWBhdu4Sy1u8ASTbS1qf2Ac5gwdegwr8tWN8saMxPt5">node0</a> may have changed his reward destination recently, please double check. This message is going to RESOLVE by itself soon.'
- eval_time: 7m # Values: 0 0 1 1 1 1 1
Expand All @@ -98,6 +102,7 @@ tests:
name: node0
address: Gt6HqWBhdu4Sy1u8ASTbS1qf2Ac5gwdegwr8tWN8saMxPt5
network: kusama
environment: production
exp_annotations:
message: 'Target <a href="https://kusama.subscan.io/validator/Gt6HqWBhdu4Sy1u8ASTbS1qf2Ac5gwdegwr8tWN8saMxPt5">node0</a> may have changed his commission rate recently, please double check. This message is going to RESOLVE by itself soon.'
- eval_time: 7m # Values: 0 0 1 1 1 1 1
Expand All @@ -117,6 +122,7 @@ tests:
name: node0
address: Gt6HqWBhdu4Sy1u8ASTbS1qf2Ac5gwdegwr8tWN8saMxPt5
network: kusama
environment: production
exp_annotations:
message: 'Target <a href="https://kusama.subscan.io/validator/Gt6HqWBhdu4Sy1u8ASTbS1qf2Ac5gwdegwr8tWN8saMxPt5">node0</a> was reported offline, an advanced double check can be carried <a href="https://kusama.subscan.io/event?address=&module=imonline&event=someoffline">here</a>. Check the account for eventual <a href="https://kusama.subscan.io/account/Gt6HqWBhdu4Sy1u8ASTbS1qf2Ac5gwdegwr8tWN8saMxPt5?tab=reward">slashes</a>. This message is going to RESOLVE by itself soon.'
runbook_url: "https://github.com/w3f/infrastructure/wiki/Validator-Offline"
Expand All @@ -140,6 +146,7 @@ tests:
name: node0
address: Gt6HqWBhdu4Sy1u8ASTbS1qf2Ac5gwdegwr8tWN8saMxPt5
network: kusama
environment: production
exp_annotations:
message: 'Blocks were not produced for 1 hour by <a href="https://kusama.subscan.io/account/Gt6HqWBhdu4Sy1u8ASTbS1qf2Ac5gwdegwr8tWN8saMxPt5">node0</a>'
runbook_url: "https://github.com/w3f/infrastructure/wiki/Producer-Stall"
Expand All @@ -154,6 +161,7 @@ tests:
name: node0
address: Gt6HqWBhdu4Sy1u8ASTbS1qf2Ac5gwdegwr8tWN8saMxPt5
network: kusama
environment: production
exp_annotations:
message: 'Blocks were not produced for 1 hour by <a href="https://kusama.subscan.io/account/Gt6HqWBhdu4Sy1u8ASTbS1qf2Ac5gwdegwr8tWN8saMxPt5">node0</a>'
runbook_url: "https://github.com/w3f/infrastructure/wiki/Producer-Stall"
Expand All @@ -166,6 +174,7 @@ tests:
name: node0
address: Gt6HqWBhdu4Sy1u8ASTbS1qf2Ac5gwdegwr8tWN8saMxPt5
network: kusama
environment: production
exp_annotations:
message: 'Blocks were not produced for 3 hours by <a href="https://kusama.subscan.io/account/Gt6HqWBhdu4Sy1u8ASTbS1qf2Ac5gwdegwr8tWN8saMxPt5">node0</a>'
runbook_url: "https://github.com/w3f/infrastructure/wiki/Producer-Stall"
Expand Down

0 comments on commit 1d621e1

Please sign in to comment.