Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic redemptions monitoring #678

Merged
merged 4 commits into from
Aug 3, 2023
Merged

Conversation

lukasz-zimnoch
Copy link
Member

Refs: keep-network/keep-core#3664
Depends on: #677

This changeset adds redemptions to the monitoring system. Specifically, two new system events are supported now:

Redemption requested

An informational system event indicating that a new redemption was requested from the on-chain Bridge contract. This event is directly sent to Discord as a notification that does not require any action.

Large redemption requested

A warning system event indicating that a large redemption was requested from the on-chain Bridge contract. This event is sent to Sentry hub and should get team’s attention. The default action is making sure that the redemption is not a result of a malicious action, and if not, that the redemption is handled correctly by the system.

This changeset adds redemptions to the monitoring system. Specifically,
two new system events are supported now:

### Redemption requested

An *informational system event* indicating that a new redemption was requested
from the on-chain Bridge contract. This event is directly sent to Discord as a
notification that does not require any action.

### Large redemption requested

A *warning system event* indicating that a large redemption was requested from
the on-chain Bridge contract. This event is sent to Sentry hub and should get
team’s attention. The default action is making sure that the redemption is
not a result of a malicious action, and if not, that the redemption is
handled correctly by the system.
@lukasz-zimnoch lukasz-zimnoch self-assigned this Aug 1, 2023
@lukasz-zimnoch lukasz-zimnoch added the 🩺 monitoring Monitoring tool label Aug 1, 2023
@lukasz-zimnoch lukasz-zimnoch force-pushed the redemption-requested-monitoring branch from 4f0f8c5 to 8e1f06e Compare August 2, 2023 11:58
Base automatically changed from get-redemption-requested-events to main August 2, 2023 12:15
@lukasz-zimnoch lukasz-zimnoch marked this pull request as ready for review August 3, 2023 06:45
@pdyraga pdyraga enabled auto-merge August 3, 2023 09:12
@pdyraga pdyraga merged commit 5db4161 into main Aug 3, 2023
37 checks passed
@pdyraga pdyraga deleted the redemption-requested-monitoring branch August 3, 2023 09:12
pdyraga added a commit that referenced this pull request Aug 3, 2023
Refs: keep-network/keep-core#3664
Depends on: #678

This changeset adds one new system event to the monitoring system:

### Stale redemption

A **warning system event** indicating that a redemption request became
stale, i.e. was not handled within the expected time. This event is sent
to Sentry hub and should get team’s attention. The default action is
investigating the cause of the extended processing time as this alert
may be an early sign of a malfunctioning wallet or may indicate a
problem with the maintainer bot.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🩺 monitoring Monitoring tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants