Requested by Storage WG Lead @0x2bc as a must-have for mainnet.
Scope
Discord bot that pings storage providers /storage/api/v1/state/data endpoint.
Client timeout = 250ms (configurable)
Failure to receive the HTTP 200 within the specified interval yields a notification in #storage-providers channel.
To avoid spamming the channel, the following flow is suggested when the failing node is detected.
Record the failing node endpoint in a DB
Schedule notifications every 15 minutes (configurable) that scans the DB record and sends 1 "summary" notification for all failing nodes.
Context
Requested by Storage WG Lead @0x2bc as a must-have for mainnet.
Scope
Discord bot that pings storage providers
/storage/api/v1/state/data
endpoint. Client timeout =250ms
(configurable) Failure to receive the HTTP 200 within the specified interval yields a notification in#storage-providers
channel.To avoid spamming the channel, the following flow is suggested when the failing node is detected.
15 minutes
(configurable) that scans the DB record and sends 1 "summary" notification for all failing nodes.Example notification
This functionality needs to be added to the existing codebase: https://github.com/singulart/joy-disco-bots
Estimate
6-8h