streamingfast / node-manager

Wrapping process to operate blockchain nodes.
https://dfuse.io
Apache License 2.0
7 stars 9 forks source link

Ability to set head block time drift and number metric name on run #1

Closed jubeless closed 4 years ago

jubeless commented 4 years ago

Currently the mindreader and the producer, both register a head block number & drift with the name "manager". This has as effect that dfuse-eosio cannot distinguish between both application for the metric value head_block_number & head_block_time_drift. We need to configure the name of the Head block number and drift metric on runtime.

while running dfuse-eosio locally, open your browser @ localhost:9102. Currently you should see

...
head_block_number{app="manager"} 170
...

the goal would be to see

...
head_block_number{app="producer"} 170
head_block_number{app="mindreader"} 172
...

Re Issue: https://github.com/dfuse-io/dfuse-eosio/issues/15