dymensionxyz / dymint

Sequencing Engine for Dymension RollApps
Other
98 stars 70 forks source link

Monitor sequencer balances #413

Open omritoptix opened 1 year ago

omritoptix commented 1 year ago

As part of our efforts to minimize the chance that rollapp operators will run into problems with submitting batches we need to write a metrics which outputs their various balances so they can plug in alerts as necessary.

2 relevant balances are:

  1. hub balance
  2. da balance
mtsitrin commented 1 year ago

u think it's dymint responsability to expose those metrics? probably should be extracted from the settlement / DA light client

wdyt

omritoptix commented 1 year ago

Implementation wise not sure what would be the best way but I think it should be part of the rollapp metric dashboard. if there is an easy way to extract those metrics from their services to the prometheus dashboard than sounds reasonable to me.

mtsitrin commented 1 year ago

yeah but I don't think it's dymint related IMO it's not dymint's job to get the balances and expose it as metric