JMP Pay Metrics

We should add some metrics for observability.

Some ideas:

  • count on bitcoin payment processed
  • count on account renew
  • count on account cancel
  • timer on latency when running commands by endpoint
  • count on web request (and error) by api endpoint
  • gauge on number of pending bitcoin transactions
    • might get benefit from a new cronjob that only reports this and runs more frequently?
    • this count also report a timer on age of oldest pending transaction