Commit Graph
45 Commits
Author SHA1 Message Date
Lukasz Mierzwa e7c00c2db8 fix(ui): fix exports 2026-04-29 10:14:47 +01:00
David Caro f1006314c0 feat: add default alertmanagers to silence form
That will allow setting some default alertmanagers to select when
creating a new silence, overriding the current behavior of getting all
the ones that are not readonly.

Signed-off-by: David Caro <dcaro@wikimedia.org>
2023-03-08 10:55:35 +00:00
Łukasz Mierzwa 4fcab63639 fix(ui): move static & valueOnly label information to a map 2021-11-01 00:18:05 +00:00
Łukasz Mierzwa 31c9468368 fix(ui): use slices for labels instead of maps 2021-10-29 17:18:15 +01:00
Alex Kampmeier 23fb5484d6 feat(config): add config parameter labels.valueOnly_re 2021-10-28 10:44:38 +01:00
Łukasz Mierzwa 0c32d7af41 feat(ui): support labels:valueOnly for labels
Fixes #3221
2021-07-19 20:04:05 +01:00
Łukasz Mierzwa 055f8d9f9a fix(ui): don't rely on alert list for silences 2021-07-16 19:12:29 +01:00
Łukasz Mierzwa 8663e94c0b feat(ui): support group limits 2021-07-14 18:00:07 +01:00
Łukasz Mierzwa 822f550393 fix(ui): use POST requests for /alerts.json endpoint 2021-07-12 22:09:11 +01:00
Łukasz Mierzwa 907ac420d3 feat(api): use a dedicated API endpoint for overview modal 2021-07-09 12:25:32 +01:00
Łukasz Mierzwa 6b52155601 chore(api): refactor cluster filters source 2021-07-04 23:25:34 +01:00
Łukasz Mierzwa dcfbea3376 chore(api): refactor grid label select source 2021-07-03 12:36:02 +01:00
Łukasz Mierzwa daffb98381 feat(ui): use alertList endpoint for silence previews 2021-07-02 22:06:45 +01:00
Łukasz Mierzwa 04379fc3cc feat(ui): paginate api 2021-06-28 12:28:40 +01:00
Łukasz Mierzwa a6bc8813ca fix(ui): fix history being fetched twice 2021-06-27 15:36:21 +01:00
Łukasz Mierzwa 19345cc53a feat(ui): add support for alertmanager v0.22.0 2021-05-15 11:41:01 +01:00
Łukasz Mierzwa 12c4a22d71 feat(project): show alert history 2021-05-01 19:37:29 +01:00
Łukasz Mierzwa e63447238d feat(ui): allow HTML in annotations
Fixes #2886
2021-04-08 19:43:25 +01:00
Łukasz Mierzwa f68399cc70 feat(ui): allow moving annotations to alert dropdown menu
Fixes #2596
2021-03-06 16:01:50 +00:00
Łukasz Mierzwa 2b963c65d1 feat(ui): allow customising ack silence comment
Fixes #2369
2020-11-24 19:52:56 +00:00
Łukasz Mierzwa 45f30f6ce9 feat(ui): allow disabling animations 2020-10-11 17:09:37 +01:00
Łukasz Mierzwa fcc795b7c9 chore(tests): migrate jest tests to typescript 2020-07-21 17:58:08 +01:00
Łukasz Mierzwa e55988588c chore(ui): migrate more components to typescript 2020-07-17 11:58:41 +01:00
Łukasz Mierzwa 4a16661558 chore(ui): migrate more components to typescript 2020-07-17 11:58:41 +01:00
Łukasz Mierzwa c5d399e3eb chore(ui): migrate AlertStore to typescript 2020-07-17 11:58:41 +01:00
Łukasz Mierzwa a2b5fbb11b chore(ui): migrate SilenceFormStore to typescript 2020-07-17 11:58:41 +01:00
Łukasz Mierzwa 2dd1897937 fix(tests): add alert fingerprint to prop validation 2020-07-02 14:31:15 +01:00
Łukasz Mierzwa 2c68967928 fix(ui): use alert fingerprint instead of labels hash 2020-05-30 18:12:54 +01:00
Łukasz Mierzwa 60bdf96be1 feat(ui): use hooks for fetch requests 2020-05-11 12:49:24 +01:00
Łukasz Mierzwa 8698e5f674 feat(ui): render per grid state count 2020-03-31 09:16:56 +01:00
Łukasz Mierzwa c12f218b4e fix(ui): reformat code using prettier v2 2020-03-25 21:43:39 +00:00
Łukasz Mierzwa 1f22a11e14 fix(ui): use CORS credential settings from each alertmanager configuration
Fixes #1432
2020-02-19 12:10:42 +00:00
Łukasz Mierzwa 3df4d27efc feat(ui): disable silence actions for read-only alertmanagers 2020-01-28 22:26:56 +00:00
Łukasz Mierzwa 378866ae34 fix(ui): remove hash tests, it's no longer exposed in the API 2020-01-06 22:23:16 +00:00
Łukasz Mierzwa ae86f9f10c fix(ui): migrate to @silence_ticket filters 2019-11-11 23:24:06 +00:00
Łukasz Mierzwa 80c30f1879 fix(ui): pass configured alertmanager headers when making requests from the browser
Right now configured headers are only set on requests made from the backend to alertmanager API.
With this change fetch() calls in the browser will use those headers if proxy mode is not enabled.
2019-09-26 20:37:23 +01:00
Łukasz Mierzwa 6b688d6ebb fix(ui): remove prune alert attributes from models 2019-08-08 15:45:01 +01:00
Łukasz Mierzwa 4a751843fb fix(ui): shared silences is now a list
API changed, so UI needs to follow
2019-03-15 11:26:46 +00:00
Łukasz Mierzwa 41cca9e501 feat(ui): deduplicate silences
If all alerts in a group are silenced and the same silence ID is used for all of them then there's no point in rendering silence object for each of the alerts, since they are all identical. Move the silence rendering to the footer if that happens so we save screen space
2019-03-08 17:41:22 +00:00
Łukasz Mierzwa f099ccc0ea feat(ui): render an indicator icon when alert is inhibited
Right now we don't mark inhibted alerts in any way, so they look like silenced alerts with no silence details. Add an icon with tooltip so inhibited alerts can be easily distinguished from silenced onces
2019-03-05 11:02:08 +00:00
Łukasz Mierzwa 9f4ee09a56 fix(ui): only show one silence per Alertmanager cluster
HA clusters share silences which means that they are currently duplicated for each alertmanager instance in that cluster
2018-12-01 10:47:24 +00:00
Łukasz Mierzwa 3a905b748e feat(api): consume Alertmanager cluster id in the UI 2018-12-01 09:57:59 +00:00
Łukasz Mierzwa fd2e852050 feat(ui): consumer Alertmanager version and cluster members 2018-11-30 18:35:34 +00:00
Łukasz Mierzwa 455cb288ca fix(tests): alert.alertmanager doesn't have uri key 2018-09-30 09:23:43 +01:00
Łukasz Mierzwa 83aa8b9649 feat(tests): strict validation for props 2018-09-24 15:28:25 +01:00