79 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
e5de49ee04 fix(backend): reduce allocations in autocomplete 2023-07-27 22:32:23 +01:00
Łukasz Mierzwa
86affe3ee5 fix(backend): reduce allocations 2022-08-15 10:56:30 +01:00
Łukasz Mierzwa
b355b40c19 fix(backend): use global string interner 2022-08-15 09:58:25 +01:00
Łukasz Mierzwa
689866a64c fix(backend): enable more Go linters 2022-07-15 18:32:07 +01:00
Łukasz Mierzwa
da32c5fc9f fix(api): sort expired silences in reverse 2022-03-15 08:19:30 +00:00
Łukasz Mierzwa
6e370c26d7 fix(api): sort silences 2022-03-14 20:55:37 +00:00
Łukasz Mierzwa
8159b4d022 fix(ui): don't check alerts age when showing expired silences 2022-02-27 12:59:43 +00:00
Łukasz Mierzwa
5fa49ace2f feat(backend): show recently expired silences 2021-12-19 13:20:19 +00:00
Łukasz Mierzwa
8f7cca40cc fix(api): use slices for labels instead of maps 2021-10-29 17:18:15 +01:00
Łukasz Mierzwa
e9c692a391 fix(api): ensure proxy paths are encoded
Fixes #3651
2021-10-27 22:36:30 +01:00
Łukasz Mierzwa
19d7a29551 fix(ci): enable revive linter 2021-05-28 21:28:31 +01:00
Łukasz Mierzwa
b7f0f0cc33 fix(api): use relative URIs for proxy endpoints
Fixes #3060.
2021-05-03 19:41:27 +01:00
Łukasz Mierzwa
a30b702203 fix(backend): avoid potential recursive locks
Fixes #2944
2021-04-06 15:33:45 +01:00
Łukasz Mierzwa
c64b900c43 fix(backend): fix a deadlock in ClusterMemberNames()
ClusterMemberNames can aquire read lock twice, which could block write locks.

Fixes #2888
2021-03-22 09:43:31 +00:00
Łukasz Mierzwa
477e8f29bb feat(backend): add healthcheck:visible config option
Fixes #2614
2021-01-17 12:59:19 +00:00
Łukasz Mierzwa
17b4e943b8 feat(backend): add healtcheck:filters option 2020-12-13 13:18:38 +00:00
Łukasz Mierzwa
6a67d5ba8e fix(backend): simplify version probes 2020-10-30 18:09:23 +00:00
Łukasz Mierzwa
640c701295 chore(backend): migrate from gin-gonic/gin to go-chi/chi
Gin comes with a lot of dependencies and doesn't use Go standard http handler.
Chi is smaller and allows to use standard middleware.
2020-10-18 11:57:43 +01:00
Łukasz Mierzwa
170dba8a37 chore(backend): use zerolog instead of logrus 2020-10-15 10:10:00 +01:00
Łukasz Mierzwa
9ebc1b506c fix(backend): don't raise false-positive alerts for alertmanagers with no cluster name 2020-09-09 15:27:14 +01:00
Łukasz Mierzwa
757f3478cf feat(backend): improve alertmanager cluster handling
Always use passed cluster name, generate errors if cluster is in unhealthy state
2020-09-08 17:52:37 +01:00
Łukasz Mierzwa
4059f8bb04 chore(backend): drop support for alertmanager <0.19.0 2020-08-25 17:21:49 +01:00
Łukasz Mierzwa
760acee8d7 feat(api): expose alert fingerprint in the API response 2020-06-30 23:53:56 +01:00
Łukasz Mierzwa
0c65bc7821 feat(tests): add looppointer linter 2020-06-24 22:35:22 +01:00
Łukasz Mierzwa
7a3da15b30 fix(tests): add more test coverage 2020-06-18 14:59:32 +01:00
Łukasz Mierzwa
d07c56d3d8 fix(api): color @cluster label 2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
992d07e904 fix(api): fix handling of clusters in silence responses 2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
91c8170433 fix(backend): add ClusterName() method 2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
4f58ff2e58 feat(backend): use cluster name from config 2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
fbef0aeb5f fix(backend): reduce number of memory allocations 2020-05-28 18:44:13 +01:00
Łukasz Mierzwa
f502319005 feat(backend): allow setting CORS credentials policy 2020-02-19 09:59:35 +00:00
Łukasz Mierzwa
908c2b96d5 fix(project): drop support for Alertmanager v1 API 2020-02-12 16:09:55 +00:00
Łukasz Mierzwa
572f9975b8 feat(backend): add readonly option to alertmanager 2020-01-28 22:26:56 +00:00
Łukasz Mierzwa
a9a7d8fc8d fix(backend): move version logging to include upstream name 2019-12-06 15:30:07 +00:00
Łukasz Mierzwa
0015d3fa4e feat(ui): replace jira link detection with a generic link finder
Fixes #1140
2019-11-11 23:24:06 +00:00
Łukasz Mierzwa
990a3de46b chore(backend): log a warning when alertmanager 0.17 or 0.18 is detected
Fixes #1099
2019-10-29 21:37:40 +00:00
Łukasz Mierzwa
1346237777 fix(project): refactor proxy & external_uri handling
Fixes #1024
2019-10-11 00:10:58 +01:00
Łukasz Mierzwa
4efe17e8f1 feat(api): expose alertmanager headers in the API 2019-09-26 20:37:23 +01:00
Łukasz Mierzwa
ad699fc6fe feat(backend): add external_uri config option for alertmanager upstreams
Fixes #899
2019-08-27 21:58:52 +01:00
Łukasz Mierzwa
77735ffcf1 fix(backend): fix problems found by new linters 2019-08-18 15:51:54 +01:00
Łukasz Mierzwa
29b6c7baae fix(backend): fix problems found by new linters 2019-08-18 10:58:26 +01:00
Łukasz Mierzwa
939970fd5f fix(backend): reformat backend code 2019-08-17 14:52:35 +01:00
Łukasz Mierzwa
6b497217d9 fix(backend): remove endsAt from alerts
This is unused but keeps changing
2019-08-08 15:45:00 +01:00
Łukasz Mierzwa
4bd9f447e2 feat(backend): query cluster status via v2 Alertmanager API
This change switches to v2 API when querying for cluster status on Alertmanager 0.17.0+.
v1 will soon be removed so this is needed to support future Alertmanager releases
2019-06-22 17:48:33 +01:00
Łukasz Mierzwa
5dd3b35f35 chore(backend): move metrics to the main package 2019-05-12 12:11:10 +01:00