avalanchego icon indicating copy to clipboard operation
avalanchego copied to clipboard

Is there a way to get the ETAs for each chain?

Open vldolot opened this issue 2 years ago • 5 comments

I've tried to search for the keywords estimate, ETA, duration, or even time from the available Avalanche docs, from /ext/metrics endpoint and from the issues list here but couldn't find anything about how to get the ETAs for each chain.

Is there a way to get the ETAs for each chain?

Thanks

vldolot avatar Jul 13 '22 00:07 vldolot

@vldolot Are you referring to the ETA until the node is done bootstrapping each chain?

danlaine avatar Aug 02 '22 13:08 danlaine

Yes. For each chain. Thanks

vldolot avatar Aug 02 '22 21:08 vldolot

There's no Prometheus metric for this, only the info that's printed, but I've made a ticket to add this functionality because I think it's a good idea. Thanks.

danlaine avatar Aug 02 '22 22:08 danlaine

That's good to hear. Looking forward to it. Thank you

vldolot avatar Aug 02 '22 22:08 vldolot

Check the following metrics:

avalanche_C_block_eta_execution_complete
avalanche_X_tx_eta_execution_complete
avalanche_X_vtx_eta_execution_complete
avalanche_P_block_eta_execution_complete

However due to https://github.com/ava-labs/avalanchego/issues/1143 the metrics are currently stuck at 0

tubededentifrice avatar Sep 11 '22 12:09 tubededentifrice