alertmanager icon indicating copy to clipboard operation
alertmanager copied to clipboard

Alert page should automatically refresh

Open jkemp101 opened this issue 9 years ago • 3 comments

The Alerts page should auto refresh so that it can be kept open and automatically update as alerts fire and clear.

jkemp101 avatar Oct 05 '16 04:10 jkemp101

That would indeed be interesting. Prerequisite would be a new and stable API, which people are looking for anyway, that implements watches. The tricky bit is that we cannot simply emit new data on every alert we receive, as they are deduplicated and/or merged into the current set. So we need a definition of a user-relevant delta first.

fabxc avatar Oct 05 '16 05:10 fabxc

The basic enhancement there would be to add a refresh-every-n-seconds timer, until the tricky bit gets resolved. 👍

nvartolomei avatar Dec 17 '16 21:12 nvartolomei

I'm hoping to provide an event stream endpoint (#1304), where individuals can subscribe and receive events as seen by AM:

  • silence creation/update
  • alert received
  • alert resolved
  • alert silenced/inhibited/uninhibited
  • notification sent

the front end could consume from this, but relying on this could lead to the UI showing out-of-sync data should the connection be dropped and then re-established.

stuartnelson3 avatar Apr 05 '18 13:04 stuartnelson3