111 Commits

Author SHA1 Message Date
Lukasz Mierzwa
e0478ec685 fix(backend): replace intern package with unique 2025-10-30 12:59:44 +00:00
Lukasz Mierzwa
ccd14cbc7f fix(backend): reduce allocations 2025-09-04 14:43:18 +01:00
Lukasz Mierzwa
492c564e74 chore(project): update deps, fix linter errors 2025-09-04 13:59:00 +01:00
Łukasz Mierzwa
e6a886ed36 chore(backend): update all deps 2025-03-19 10:57:49 +00:00
Łukasz Mierzwa
1cd7856dc3 fix(project): don't use status api 2024-04-03 13:55:52 +01:00
Łukasz Mierzwa
2443d098bb fix(backend): reduce allocations in fingerprint code 2023-07-28 11:55:52 +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
46b566a92b fix(backend): fix links with spaces 2022-10-28 12:51:22 +01:00
Łukasz Mierzwa
7ca315a7aa chore(actions): use latest Go version 2022-08-04 09:05:29 +01:00
Łukasz Mierzwa
689866a64c fix(backend): enable more Go linters 2022-07-15 18:32:07 +01:00
Łukasz Mierzwa
5fa49ace2f feat(backend): show recently expired silences 2021-12-19 13:20:19 +00:00
Łukasz Mierzwa
650fdca8e6 feat(ci): use goimports to format import statements 2021-12-16 20:51:52 +00:00
Łukasz Mierzwa
d172c58a1a feat(backend): add labels:order config option
Fixes #3500
2021-11-01 11:00:46 +00:00
Łukasz Mierzwa
c90a5063ef fix(api): move static & valueOnly label information to a map 2021-11-01 00:18:05 +00:00
Łukasz Mierzwa
8f7cca40cc fix(api): 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
4ccc0a35ab fix(auth): add missing test coverage 2021-10-23 14:38:54 +01:00
Łukasz Mierzwa
736db328f0 fix(api): correctly handle sub-uri sources in history
Fixes #3387
2021-08-02 19:57:20 +01:00
Łukasz Mierzwa
75b2789597 feat(backend): add labels:valueOnly config option 2021-07-19 20:04:05 +01:00
Łukasz Mierzwa
fc3f6baedf feat(api): string grid labels from alert groups
Fixes #3222
2021-07-19 17:43:46 +01:00
Łukasz Mierzwa
a2ee4812f7 feat(api): expose common label map per group 2021-07-16 19:12:29 +01:00
Łukasz Mierzwa
7b8e8bb17a feat(api): limit group alerts 2021-07-14 18:00:07 +01:00
Łukasz Mierzwa
1f32666036 fix(api): 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
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
19d7a29551 fix(ci): enable revive linter 2021-05-28 21:28:31 +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
6a67d5ba8e fix(backend): simplify version probes 2020-10-30 18:09:23 +00:00
Łukasz Mierzwa
170dba8a37 chore(backend): use zerolog instead of logrus 2020-10-15 10:10:00 +01:00
Frits van Bommel
72d24ad98a chore(deps): migrate to new sortorder import path
See fvbommel/util#7
2020-09-13 17:09:12 +01:00
Łukasz Mierzwa
760acee8d7 feat(api): expose alert fingerprint in the API response 2020-06-30 23:53:56 +01:00
Łukasz Mierzwa
fcb207f397 fix(api): return label color data as rgba strings 2020-06-25 18:28:49 +01:00
Łukasz Mierzwa
1a46986600 fix(backend): cleanup state checks 2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
c74479d435 fix(api): expose alert fingerprint in the API 2020-05-30 18:12:54 +01:00
Łukasz Mierzwa
fbef0aeb5f fix(backend): reduce number of memory allocations 2020-05-28 18:44:13 +01:00
Łukasz Mierzwa
9563b9119d feat(test): report more metrics when running go benchmarks 2020-05-23 17:06:11 +01:00
Łukasz Mierzwa
4b927a3f92 feat(api): expose all receivers in the API response 2020-05-14 16:45:49 +01:00
Łukasz Mierzwa
b379e091c7 fix(tests): add annotation custom order sort tests 2020-05-09 15:18:56 +01:00
Benoît Knecht
7f3846b9f8 feat(backend): Add option to order annotations
The `annotations.order` option lets users pass a list of annotation names in
the order they want them displayed. Any annotation that isn't in the list is
shown after the annotations from the list, in alphabetical order.

For instance, with

```yaml
annotations:
  order:
  - summary
  - description
```

an alert with `description`, `help`, `runbook` and `summary` annotations will
have them displayed in that order:

- `summary`
- `description`
- `help`
- `runbook`

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
2020-05-09 15:18:56 +01:00
Łukasz Mierzwa
215242dc51 fix(tests): add more annotation tests 2020-04-20 22:59:48 +01:00
Łukasz Mierzwa
bc9b711d0f fix(ui): correctly handle annotations with spaces after the link
Fixes #1648
2020-04-20 22:59:48 +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