Backend SGX Metrics

Some metrics should be added to the backend SGX for increased observability.

Here’s some ideas:

  • count on startup (so we can graph number of starts over a period of time)
  • count on incoming message
  • count on outgoing message (and error)
  • count on incoming MMS
  • count on outgoing MMS (and error)
  • timer on latency for bandwidth message send
  • count on error responses sent