summaryrefslogtreecommitdiffstats
path: root/health/health.d/geth.conf
blob: dd1eb4701e4dfe0fe42537a5bea8253a71f16ab1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#chainhead_header is expected momenterarily to be ahead. If its considerably ahead (e.g more than 5 blocks), then the node is definitely out of sync. 
 template: geth_chainhead_diff_between_header_block
       on: geth.chainhead
    class: Workload
     type: ethereum_node
component: geth
    every: 10s
     calc: $chain_head_block -  $chain_head_header
    units: blocks
     warn: $this != 0
     crit: $this > 5
    delay: down 1m multiplier 1.5 max 1h