Validator observability infra (#3116)
### Description - Configures the relayers to start tracking the latest checkpoints of the manta TIA WR, arbitrum TIA WR, and helloworld sets (and, implicitly, the default ISM sets too) - deployed all agent roles & networks with the new image - created alerts and added to the nexus dashboard One thing that's a bit of a bummer is the metrics are only updated whenever we try to construct metadata for a message. Naturally the validators will poll & sign checkpoints slightly out of sync, so pretty frequently the relayer attempts to deliver a message where say 4/6 signatures are needed, and 2 of the validators happen to just have not polled & signed the checkpoint yet. The message is then successfully delivered, and the 2 remaining validators probably sign the checkpoint in a matter of seconds, but the metrics aren't updated to reflect this unless there's another message whose metadata is being constructed. This just means that the graph is a bit ugly when things are working. But when things aren't working, we'll still be able to clearly see which validators are behind. We may want to consider changing the metrics if this proves confusing. Some ideas: 1. Move to a separate task that occasionally polls the latest checkpoints of the configured app contexts 2. Also track the threshold. This way we can construct alerts & dashboards based off the threshold and not be overly concerned if there are some stragglers ### Drive-by changes added `bytesToBytes32` so that we can construct matching lists, which the agents expect to be 0x-prefixed, using a router address config that may include protocol-specific address formats ### Related issues Fixes #3109 ### Backward compatibility yes ### Testing deployedtrevor/port-over-addtl-igp-cmds
parent
ae4476ad09
commit
78e50e7da4
@ -0,0 +1,5 @@ |
||||
--- |
||||
'@hyperlane-xyz/utils': patch |
||||
--- |
||||
|
||||
addressToBytes32 changed to work for all protocol types |
@ -0,0 +1,8 @@ |
||||
{ |
||||
"neutron": { |
||||
"router": "neutron1jyyjd3x0jhgswgm6nnctxvzla8ypx50tew3ayxxwkrjfxhvje6kqzvzudq" |
||||
}, |
||||
"arbitrum": { |
||||
"router": "0xd56734d7f9979dd94fae3d67c7e928234e71cd4c" |
||||
} |
||||
} |
@ -0,0 +1,8 @@ |
||||
{ |
||||
"neutron": { |
||||
"router": "neutron1ch7x3xgpnj62weyes8vfada35zff6z59kt2psqhnx9gjnt2ttqdqtva3pa" |
||||
}, |
||||
"mantapacific": { |
||||
"router": "0x6fae4d9935e2fcb11fc79a64e917fb2bf14dafaa" |
||||
} |
||||
} |
Loading…
Reference in new issue