omni / poa-bridge

POA <-> Ethereum bridge for self transfers of POA native token to POA20 (ERC20 representation). Not supported. Use TokenBridge instead
https://github.com/poanetwork/token-bridge
GNU General Public License v3.0
80 stars 39 forks source link

(Feature) Monitoring of the production bridge POA <--> POA20 #39

Closed igorbarinov closed 6 years ago

igorbarinov commented 6 years ago

Before launching "POA <--> POA20" into production mode we need to have metrics and alerts for the "POA <--> POA20" bridge.

The bridge as a service has several independent parts on validators nodes and on two chains. Let's assume that the prodcution version will use three validators. We need:

Open questions:

Do we have a monitor in our monitoring system capable to monitor balances and calculate thresholds?Let's assume that we will change monitors after modifying quotas.

Do we have exceptions we need to create alerts for?

How to know that a service is stopped?

rstormsf commented 6 years ago

Another service that could be created to check for all deposit transactions to make sure that all tx were actually relayed. In order to do that, a developer needs to take all Deposit events, build a query and submit it to Foreign Bridge to see if there were relayed tx. The same needs to be done for Withdrawals on Foreign side.

rstormsf commented 6 years ago

https://github.com/poanetwork/bridge-monitor