noble-assets / noble-cctp-relayer

Apache License 2.0
15 stars 9 forks source link

Implement Prometheus metrics to track wallet balance #53

Closed boojamya closed 8 months ago

boojamya commented 9 months ago

This PR exports wallet balances using prometheus.

NOTE: Noble balances are not exported b/c it is free to submit "message received" transactions on noble chain. Therefore it is unnecessary to track balances.

Default port for Prometheus is 2112 but can be overridden using --metrics-port flag.

Screenshot 2024-03-06 at 10 59 11 PM


Minor additions unrelated to wallet balance metric: