-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Group Rococo BEEFY alerts + add
Rococo
labels
- Loading branch information
Showing
5 changed files
with
194 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
190 changes: 190 additions & 0 deletions
190
deployments/bridges/rococo/dashboard/grafana/rococo-beefy-alerts.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,190 @@ | ||
{ | ||
"name": "Rococo BEEFY", | ||
"interval": "20m", | ||
"rules": [ | ||
{ | ||
"expr": "", | ||
"for": "20m", | ||
"labels": { | ||
"matrix_room": "!lMunCqbBqxEqfRuUDF:parity.io" | ||
}, | ||
"annotations": { | ||
"__dashboardUid__": "3sEDRyl7z", | ||
"__panelId__": "6", | ||
"summary": "Some Rococo BEEFY validators experienced lagging sessions" | ||
}, | ||
"grafana_alert": { | ||
"id": 42, | ||
"orgId": 1, | ||
"title": "Rococo BEEFY Lagging Sessions", | ||
"condition": "B", | ||
"data": [ | ||
{ | ||
"refId": "A", | ||
"queryType": "", | ||
"relativeTimeRange": { | ||
"from": 10800, | ||
"to": 0 | ||
}, | ||
"datasourceUid": "PC96415006F908B67", | ||
"model": { | ||
"editorMode": "code", | ||
"exemplar": true, | ||
"expr": "increase(substrate_beefy_lagging_sessions{chain=\"rococo_v2_2\", node=~\"rococo.*(3-validator|3-rpc).*\"}[60m])", | ||
"interval": "", | ||
"intervalMs": 30000, | ||
"legendFormat": "", | ||
"maxDataPoints": 43200, | ||
"range": true, | ||
"refId": "A" | ||
} | ||
}, | ||
{ | ||
"refId": "B", | ||
"queryType": "", | ||
"relativeTimeRange": { | ||
"from": 0, | ||
"to": 0 | ||
}, | ||
"datasourceUid": "-100", | ||
"model": { | ||
"conditions": [ | ||
{ | ||
"evaluator": { | ||
"params": [ | ||
0 | ||
], | ||
"type": "gt" | ||
}, | ||
"operator": { | ||
"type": "and" | ||
}, | ||
"query": { | ||
"params": [ | ||
"A" | ||
] | ||
}, | ||
"reducer": { | ||
"params": [], | ||
"type": "last" | ||
}, | ||
"type": "query" | ||
} | ||
], | ||
"datasource": { | ||
"type": "grafana-expression", | ||
"uid": "-100" | ||
}, | ||
"hide": false, | ||
"intervalMs": 1000, | ||
"maxDataPoints": 43200, | ||
"refId": "B", | ||
"type": "classic_conditions" | ||
} | ||
} | ||
], | ||
"updated": "2023-11-20T13:21:12Z", | ||
"intervalSeconds": 1200, | ||
"version": 12, | ||
"uid": "eYY8ks_7z", | ||
"namespace_uid": "eblDiw17z", | ||
"namespace_id": 140, | ||
"rule_group": "Rococo BEEFY", | ||
"no_data_state": "NoData", | ||
"exec_err_state": "Alerting", | ||
"is_paused": false | ||
} | ||
}, | ||
{ | ||
"expr": "", | ||
"for": "1h", | ||
"labels": { | ||
"matrix_room": "!lMunCqbBqxEqfRuUDF:parity.io" | ||
}, | ||
"annotations": { | ||
"__dashboardUid__": "3sEDRyl7z", | ||
"__panelId__": "2", | ||
"summary": "Rococo BEEFY best blocks have not advanced for at least 60 mins" | ||
}, | ||
"grafana_alert": { | ||
"id": 41, | ||
"orgId": 1, | ||
"title": "Rococo BEEFY best blocks not advancing", | ||
"condition": "C", | ||
"data": [ | ||
{ | ||
"refId": "A", | ||
"queryType": "", | ||
"relativeTimeRange": { | ||
"from": 10800, | ||
"to": 0 | ||
}, | ||
"datasourceUid": "PC96415006F908B67", | ||
"model": { | ||
"editorMode": "code", | ||
"expr": "increase(substrate_beefy_best_block{chain=\"rococo_v2_2\", node=~\"rococo.*(validator|rpc).*\"}[1h])", | ||
"hide": false, | ||
"intervalMs": 1000, | ||
"maxDataPoints": 43200, | ||
"range": true, | ||
"refId": "A" | ||
} | ||
}, | ||
{ | ||
"refId": "C", | ||
"queryType": "", | ||
"relativeTimeRange": { | ||
"from": 0, | ||
"to": 0 | ||
}, | ||
"datasourceUid": "-100", | ||
"model": { | ||
"conditions": [ | ||
{ | ||
"evaluator": { | ||
"params": [ | ||
100 | ||
], | ||
"type": "lt" | ||
}, | ||
"operator": { | ||
"type": "and" | ||
}, | ||
"query": { | ||
"params": [ | ||
"A" | ||
] | ||
}, | ||
"reducer": { | ||
"params": [], | ||
"type": "last" | ||
}, | ||
"type": "query" | ||
} | ||
], | ||
"datasource": { | ||
"type": "grafana-expression", | ||
"uid": "-100" | ||
}, | ||
"hide": false, | ||
"intervalMs": 1000, | ||
"maxDataPoints": 43200, | ||
"refId": "C", | ||
"type": "classic_conditions" | ||
} | ||
} | ||
], | ||
"updated": "2023-11-20T13:21:12Z", | ||
"intervalSeconds": 1200, | ||
"version": 13, | ||
"uid": "CBuugs_7k", | ||
"namespace_uid": "eblDiw17z", | ||
"namespace_id": 140, | ||
"rule_group": "Rococo BEEFY", | ||
"no_data_state": "Alerting", | ||
"exec_err_state": "Alerting", | ||
"is_paused": false | ||
} | ||
} | ||
] | ||
} |
97 changes: 0 additions & 97 deletions
97
...ments/bridges/rococo/dashboard/grafana/rococo-beefy-best-blocks-not-advancing-alerts.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.