swarm-ui: a header bell with the count of firing alerts opens a list of them and a link to Grafana
This commit is contained in:
parent
ffcba2b026
commit
70e5de5571
1 changed files with 218 additions and 5 deletions
|
|
@ -11,6 +11,12 @@ The signed-in user's avatar sits at the right end of the header on every page.
|
|||
It opens a menu with the user's name and links to authelia's settings and
|
||||
sign-out pages; the hive dashboard has the same menu.
|
||||
|
||||
While an alert is firing in Grafana, a bell with the number of firing alerts
|
||||
sits left of the links button on every page. It opens a list of them, each with
|
||||
its summary and how long it has been firing, and a link to Grafana's alert list.
|
||||
The bell polls `GET /api/alerts` every 30 seconds and disappears while nothing
|
||||
fires or the poll fails.
|
||||
|
||||
Every dropdown (a form's select, the refresh interval, the history window) opens a
|
||||
list in the swarm UI's own theme, not the browser's, and works the same in every
|
||||
current browser. Open it with a press, or with the arrow keys, **Enter** or
|
||||
|
|
|
|||
Loading…
Reference in a new issue