Consensys / shomei

Shomei Linea state manager extends the Hyperledger Besu functionality. This component communicates with Besu in order to maintain and update the ZK state. This component will communicate with Besu thanks to this plugin https://github.com/ConsenSys/besu-shomei-plugin
https://documenter.getpostman.com/view/27370530/2s93ebTr7h
Apache License 2.0
1 stars 5 forks source link

add head metrics gauge #100

Closed garyschulte closed 1 month ago

garyschulte commented 1 month ago

PR Description

Add a metrics gauge tracking shomei head state: shomei_blockchain_head e.g.:

$ curl -s localhost:9888/metrics|grep shomei
# HELP shomei_blockchain_head current chain head block number which corresponds to shomei state
# TYPE shomei_blockchain_head gauge
shomei_blockchain_head 257373.0

$ curl -s localhost:9888/metrics|grep shomei
# HELP shomei_blockchain_head current chain head block number which corresponds to shomei state
# TYPE shomei_blockchain_head gauge
shomei_blockchain_head 257642.0

also removes the expectation that a MetricsService is a vertx verticle..

Fixed Issue(s)

99

Documentation

Changelog