alertmanager/ui/app
Christopher Taylor af63c85161 Let the browser remember the creator of a silence (#1112)
* wire default creator through Elm

* wire defaultCreator into localStorage

* add ui/bindata.go

* fix indentation

* change defaultCreator type from (Maybe String) to String

use an empty string as default value

* update ui/bindata.go
2017-12-08 12:54:44 +01:00
..
src Let the browser remember the creator of a silence (#1112) 2017-12-08 12:54:44 +01:00
tests Toggle silenced and inhibited alerts (#1049) 2017-10-23 11:00:17 +02:00
.gitignore Add Elm UI rewrite from github.com/stuartnelson3/am-ui with history 2017-03-24 17:48:50 +01:00
CONTRIBUTING.md Improve front-end build process 2017-07-06 13:43:10 +02:00
Makefile macOS requires the template to be at the end (#971) 2017-09-02 20:19:11 +02:00
README.md Add CONTRIBUTING.md for front-end code 2017-03-31 17:49:50 +02:00
elm-package.json Added confirmation dialog when expiring silences 2017-09-14 16:41:55 +01:00
favicon.ico Add favicon (#839) 2017-06-01 10:13:20 +02:00
index.html Let the browser remember the creator of a silence (#1112) 2017-12-08 12:54:44 +01:00

README.md

Alertmanager UI

This is a re-write of the Alertmanager UI in elm-lang.

Usage

Filtering on the alerts page

By default, the alerts page only shows active (not silenced) alerts. Adding a query string containing the following will additionally show silenced alerts.

http://alertmanager/#/alerts?silenced=true

The alerts page can also be filtered by the receivers for a page. Receivers are configured in Alertmanager's yaml configuration file.

http://alertmanager/#/alerts?receiver=backend

Filtering based on label matchers is available. They can easily be added and modified through the UI.

http://alertmanager/#/alerts?filter=%7Bseverity%3D%22warning%22%2C%20owner%3D%22backend%22%7D

These filters can be used in conjunction.

Filtering on the silences page

Filtering based on label matchers is available. They can easily be added and modified through the UI.

http://alertmanager/#/silences?filter=%7Bseverity%3D%22warning%22%2C%20owner%3D%22backend%22%7D

Note on filtering via label matchers

Filtering via label matchers follows the same syntax and semantics as Prometheus.

A properly formatted filter is a set of label matchers joined by accepted matching operators, surrounded by curly braces:

{foo="bar", baz=~"quu.*"}

Operators include:

  • =
  • !=
  • =~
  • !~

See the official documentation for additional information: https://prometheus.io/docs/querying/basics/#instant-vector-selectors