tmkms icon indicating copy to clipboard operation
tmkms copied to clipboard

Prometheus metrics

Open freak12techno opened this issue 2 years ago • 6 comments

I'm using Prometheus a lot of metrics and alerting and it'd be nice if tmkms would expose some of its own metrics in a Prometheus compatible format so I'd have an overview on how good tmkms is performing and can add another alerts set for it. At least the following would be nice to have:

  • last signed h/r/s
  • whether tmkms was able to connect successfully to a fullnode or not, or errors count
  • doublesign attempts

Do you think it's possible or desireable?

freak12techno avatar Jan 08 '23 10:01 freak12techno

See #667

tony-iqlusion avatar Jan 08 '23 15:01 tony-iqlusion

That would solve it for me. Any estimation on when this can be merged?

freak12techno avatar Jan 08 '23 15:01 freak12techno

Whenever I have time to review it.

In the meantime you can run that branch and report back on how well it's working, which would be helpful with the review process.

tony-iqlusion avatar Jan 08 '23 16:01 tony-iqlusion

+1

zheli avatar Jul 28 '23 12:07 zheli

My feedback on #667 (which is now stale) was that I would prefer to use https://autometrics.dev/ instead

tony-iqlusion avatar Oct 12 '23 23:10 tony-iqlusion

@tony-iqlusion any news on that? I'd say having metrics for the app that's responsible for signing blocks and that's potentially securing millions of dollars (and may cause huge losses if something is not right), this seems like a must.

freak12techno avatar Jul 06 '24 01:07 freak12techno