Skip to content

Commit d5825f5

Browse files
committed
Document de-duplication of alerts
1 parent acbdf95 commit d5825f5

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,18 @@ if the solution range after an era transition is significantly different on the
6666

6767
For details of the fork choice algorithm, see [the subspace protocol specification](https://subspace.github.io/protocol-specs/docs/decex/workflow#fork-choice-rule).
6868

69+
## Alert De-duplication
70+
71+
Alerts about the same extrinsic or event are deduplicated, using this priority order:
72+
73+
- sudo/sudid
74+
- large balance transfer
75+
- force balance transfer
76+
- important address transfer
77+
- important address (any other extrinsic or event)
78+
79+
Other alert kinds are not de-duplicated.
80+
6981
## Security notes
7082

7183
- The Slack OAuth token is loaded from a file and must be readable only by the current user.
@@ -77,7 +89,8 @@ For details of the fork choice algorithm, see [the subspace protocol specificati
7789

7890
- Hardcoded Slack channel, workspace ID, and thresholds.
7991
- Minimal decoding/validation for extrinsics and events; fields are parsed best-effort.
80-
- Minimal stateful aggregation (e.g., summing multiple related transfers)
92+
- Minimal stateful aggregation (e.g., summing multiple related transfers).
93+
- Alerts are partly de-duplicated on the same instance, but extrinsic and event alerts are not combined yet.
8194
- No alert deduplication when multiple instances are running.
8295
- Limited CLI configuration.
8396
- No persistent storage, no metrics, no dashboards.

0 commit comments

Comments
 (0)