Skip to content

ethstorage/op_monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

monitor list:

  • balance of op-batcher/op-proposer/op-challenger
  • unsafe height of op-node doesn't halt growing
  • unsafe height of op-node doesn't reorg
  • safe/finalized height of op-node doesn't halt growing
  • safe/finalized height of op-node doesn't reorg
  • op-batcher/op-proposer are sending transactions in time
  • transactions from op-batcher/op-proposer doesn't fail

When alarm is needed, an email is sent.

Usage

$ cat config.json

{
    "batcher": "<batcher_address>",
    "proposer": "<proposer_address>",
    "challenger": "<challenger_address>",
    "l1_rpc": "<l1_rpc>",
    "l2_el_rpc": "<l2_el_rpc>",
    "l2_cl_rpc": "<l2_cl_rpc>",
    "min_balance": <min_balance>,
    "max_l2_unsafe_halt_time": <max_l2_unsafe_halt_time>,
    "max_l2_safe_delay": <max_l2_safe_delay>,
    "max_l2_finalized_delay": <max_l2_finalized_delay>,
    "email_config": {
        "server": "<smtp server>",
        "port": <port>,
        "from": "<from_email>",
        "to": [
            "<to_email>"
        ],
        "pass": "<password>"
    }
}

$ go run main.go --config config.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages