hermes icon indicating copy to clipboard operation
hermes copied to clipboard

Include an endpoint to serve alerting systems

Open ljoss17 opened this issue 1 year ago • 0 comments

Summary

Hermes sometimes detects events which should be acted upon, these might be logged as warning but can be easily missed.

Problem Definition

Here are two potential use cases for this:

  1. When a chain upgrades and increments the version, e.g. chainname-1 to chainname-2, the Hermes configuration needs to be updated and the relayer needs to be restarted. Since chains emit an event upon upgrade https://github.com/cosmos/ibc-go/issues/270 Hermes could send a notification in this situation.
  2. Hermes could notify when it detects a client which will expire soon.

Proposal

Introducing an endpoint to serve alerting systems, such as https://github.com/prometheus/alertmanager, could allow operators to setup a notification system to avoid missing some important information.


For Admin Use

  • [ ] Not duplicate issue
  • [ ] Appropriate labels applied
  • [ ] Appropriate milestone (priority) applied
  • [ ] Appropriate contributors tagged
  • [ ] Contributor assigned/self-assigned

ljoss17 avatar Aug 25 '23 12:08 ljoss17