Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit be9954b

Browse files
committed
Merge remote-tracking branch 'origin/master' into kckyeung/bounded-identity
2 parents 78814b6 + 0f5a858 commit be9954b

File tree

359 files changed

+8539
-4939
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

359 files changed

+8539
-4939
lines changed

.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ trim_trailing_whitespace=true
99
max_line_length=100
1010
insert_final_newline=true
1111

12+
[*.md]
13+
max_line_length=80
14+
indent_style=space
15+
indent_size=2
16+
1217
[*.yml]
1318
indent_style=space
1419
indent_size=2

.maintain/monitoring/alerting-rules/alerting-rules.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ groups:
4747
# Under the assumption of an average block production of 6 seconds,
4848
# "best" and "finalized" being more than 10 blocks apart would imply
4949
# more than a 1 minute delay between block production and finalization.
50-
expr: '(polkadot_block_height_number{status="best"} - ignoring(status)
51-
polkadot_block_height_number{status="finalized"}) > 10'
50+
expr: '(polkadot_block_height{status="best"} - ignoring(status)
51+
polkadot_block_height{status="finalized"}) > 10'
5252
for: 8m
5353
labels:
5454
severity: critical
@@ -134,7 +134,7 @@ groups:
134134
##############################################################################
135135

136136
- alert: ContinuousTaskEnded
137-
expr: '(polkadot_tasks_spawned_total{task_name != "basic-authorship-proposer"} == 1)
137+
expr: '(polkadot_tasks_spawned_total{task_name != "basic-authorship-proposer", task_name != "substrate-rpc-subscription"} == 1)
138138
- on(instance, task_name) group_left() (polkadot_tasks_ended_total == 1)'
139139
for: 5m
140140
labels:

0 commit comments

Comments
 (0)