63 Commits
Author SHA1 Message Date
Lukasz MierzwaandŁukasz Mierzwa 1cf2e5760f fix(backend): use json v2 2026-03-11 13:10:15 +00:00
Lukasz MierzwaandŁukasz Mierzwa f207da0f79 fix(backend): use less memory 2026-03-11 13:10:15 +00:00
Lukasz MierzwaandŁukasz Mierzwa 3ab3417931 fix(backend): fix some go issues 2026-03-09 19:44:23 +00:00
Lukasz MierzwaandŁukasz Mierzwa e0478ec685 fix(backend): replace intern package with unique 2025-10-30 12:59:44 +00:00
Lukasz MierzwaandŁukasz Mierzwa ccd14cbc7f fix(backend): reduce allocations 2025-09-04 14:43:18 +01:00
Lukasz MierzwaandŁukasz Mierzwa 492c564e74 chore(project): update deps, fix linter errors 2025-09-04 13:59:00 +01:00
David CaroandŁukasz Mierzwa 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 MierzwaandŁukasz Mierzwa 689866a64c fix(backend): enable more Go linters 2022-07-15 18:32:07 +01:00
Łukasz MierzwaandŁukasz Mierzwa c90a5063ef fix(api): move static & valueOnly label information to a map 2021-11-01 00:18:05 +00:00
Łukasz MierzwaandŁukasz Mierzwa 8f7cca40cc fix(api): use slices for labels instead of maps 2021-10-29 17:18:15 +01:00
Alex KampmeierandŁukasz Mierzwa 23fb5484d6 feat(config): add config parameter labels.valueOnly_re 2021-10-28 10:44:38 +01:00
Łukasz MierzwaandŁukasz Mierzwa 4ccc0a35ab fix(auth): add missing test coverage 2021-10-23 14:38:54 +01:00
Łukasz MierzwaandŁukasz Mierzwa 736db328f0 fix(api): correctly handle sub-uri sources in history
Fixes #3387
2021-08-02 19:57:20 +01:00
Łukasz MierzwaandŁukasz Mierzwa 75b2789597 feat(backend): add labels:valueOnly config option 2021-07-19 20:04:05 +01:00
Łukasz MierzwaandŁukasz Mierzwa fc3f6baedf feat(api): string grid labels from alert groups
Fixes #3222
2021-07-19 17:43:46 +01:00
Łukasz MierzwaandŁukasz Mierzwa a2ee4812f7 feat(api): expose common label map per group 2021-07-16 19:12:29 +01:00
Łukasz MierzwaandŁukasz Mierzwa 7b8e8bb17a feat(api): limit group alerts 2021-07-14 18:00:07 +01:00
Łukasz MierzwaandŁukasz Mierzwa 1f32666036 fix(api): use POST requests for /alerts.json endpoint 2021-07-12 22:09:11 +01:00
Łukasz MierzwaandŁukasz Mierzwa 907ac420d3 feat(api): use a dedicated API endpoint for overview modal 2021-07-09 12:25:32 +01:00
Łukasz MierzwaandŁukasz Mierzwa 6b52155601 chore(api): refactor cluster filters source 2021-07-04 23:25:34 +01:00
Łukasz MierzwaandŁukasz Mierzwa dcfbea3376 chore(api): refactor grid label select source 2021-07-03 12:36:02 +01:00
Łukasz MierzwaandŁukasz Mierzwa 04379fc3cc feat(ui): paginate api 2021-06-28 12:28:40 +01:00
Łukasz MierzwaandŁukasz Mierzwa a6bc8813ca fix(ui): fix history being fetched twice 2021-06-27 15:36:21 +01:00
Łukasz MierzwaandŁukasz Mierzwa 19d7a29551 fix(ci): enable revive linter 2021-05-28 21:28:31 +01:00
Łukasz MierzwaandŁukasz Mierzwa 12c4a22d71 feat(project): show alert history 2021-05-01 19:37:29 +01:00
Łukasz MierzwaandŁukasz Mierzwa e63447238d feat(ui): allow HTML in annotations
Fixes #2886
2021-04-08 19:43:25 +01:00
Łukasz MierzwaandŁukasz Mierzwa 2b963c65d1 feat(ui): allow customising ack silence comment
Fixes #2369
2020-11-24 19:52:56 +00:00
Frits van BommelandŁukasz Mierzwa 72d24ad98a chore(deps): migrate to new sortorder import path
See fvbommel/util#7
2020-09-13 17:09:12 +01:00
Łukasz MierzwaandŁukasz Mierzwa fcb207f397 fix(api): return label color data as rgba strings 2020-06-25 18:28:49 +01:00
Łukasz MierzwaandŁukasz Mierzwa 1a46986600 fix(backend): cleanup state checks 2020-06-12 19:14:17 +01:00
Łukasz MierzwaandŁukasz Mierzwa fbef0aeb5f fix(backend): reduce number of memory allocations 2020-05-28 18:44:13 +01:00
Łukasz MierzwaandŁukasz Mierzwa 4b927a3f92 feat(api): expose all receivers in the API response 2020-05-14 16:45:49 +01:00
Łukasz Mierzwa f41066b6ba feat(api): expose per grid state count 2020-03-31 09:16:55 +01:00
Łukasz Mierzwa cff62dda2f feat(api): generate alert grid per label value
This allows generating multiple independent alert group lists, one per unique value of the label specified by the user.
This way we can have a separate grid per severity or cluster label value.
2020-03-31 09:16:55 +01:00
Łukasz Mierzwa e9306d2222 fix(backend): remove silenceForm.author config section 2020-02-22 15:50:01 +00:00
Łukasz Mierzwa e08c442e39 feat(backend): add basic auth support 2020-02-22 15:50:00 +00:00
Łukasz Mierzwa 6857368607 feat(backend): add backend configuration for silence acks, expose it via the api 2019-11-05 10:12:08 +00:00
Łukasz Mierzwa 77735ffcf1 fix(backend): fix problems found by new linters 2019-08-18 15:51:54 +01:00
Łukasz Mierzwa 86506563e9 feat(api): sort alert groups in the backend 2019-08-08 15:45:00 +01:00
Łukasz Mierzwa 9b6273595d chore: move sorting to the backend 2019-08-08 15:45:00 +01:00
Łukasz Mierzwa 49087ee10d fix(api): overview modal should sort label names in ascending order 2019-07-31 13:21:27 +01:00
Łukasz Mierzwa e36f25a248 chore(api): add offset and raw filter value to the counters dict 2019-07-14 18:22:55 +01:00
Łukasz Mierzwa 1a98e01622 feat(backend): allow extracting silence author from auth headers 2019-07-12 23:04:15 +01:00
Łukasz Mierzwa f0fee594d9 feat(api): add labels stats to the api response
These will be used by an overview modal, showing top labels.
2019-07-09 23:03:01 +01:00
Łukasz Mierzwa 2fea920e57 feat(api): expose silenceform:strip:labels settings in the API 2019-04-29 20:17:40 +01:00
Łukasz Mierzwa 003e2d88ac fix(api): always sort shared silences
Prevent different order between requests, which can also break random tests
2019-03-15 13:27:03 +00:00
Łukasz Mierzwa 49257ec296 fix(api): correctly deduplicate silences
Right now deduplication only works when there's a single silence for the entire group, but not if the group is silences with multiple silences. This change fixes the logic so that we look at silences covering the entire group and move those into shared namespace
2019-03-15 10:49:33 +00:00
Łukasz Mierzwa 6ebc88b0ba feat(api): deduplicate silences
Detect if all alerts are silenced with the same silence ID and expose this information in the API response.
2019-03-08 16:59:47 +00:00
Łukasz Mierzwa aa657ea216 feat(backend): allow configuring default grid sort options
This will allow UI to get the defaults for grid sorting via the API
2019-02-20 21:58:59 +00:00
Łukasz Mierzwa 397bbe5783 feat(config): allow configuring label value mapping for sorting
This feature solves the problem of sorting by label when values have special meaning and alphabetic sort doesn't make sense for it.
2019-02-18 23:17:47 +00:00