alertmanager/ui/app
Max Leonard Inden 8e157b3af5
api/v2: Make cluster status peers and name optional
If a users chooses to disable the Alertmanager cluster feature, there is
no cluster name nor cluster peers. Hence these should be optional. Only
cluster status is set to "disabled".

Signed-off-by: Max Leonard Inden <IndenML@gmail.com>
2019-02-04 11:40:30 +01:00
..
lib Use elm reactor for dev assets (#1133) 2017-12-10 21:59:15 +01:00
src api/v2: Make cluster status peers and name optional 2019-02-04 11:40:30 +01:00
tests Upgrade Alertmanager UI to Elm 0.19 (#1539) 2018-09-06 18:08:51 +02:00
.gitignore
CONTRIBUTING.md Migrate from go-bindata to vfsgen (#1532) 2018-09-24 15:12:40 +02:00
Makefile api/v2: Extract shared properties of gettable and postable alert 2018-11-28 14:35:39 +01:00
README.md Add CONTRIBUTING.md for front-end code 2017-03-31 17:49:50 +02:00
elm.json ui: Move /status & /silences to API v2 2018-11-15 13:24:26 +01:00
favicon.ico Add favicon (#839) 2017-06-01 10:13:20 +02:00
index.html Upgrade Alertmanager UI to Elm 0.19 (#1539) 2018-09-06 18:08:51 +02: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