Łukasz Mierzwa
ad02283ca2
chore(project): bump linter tools
2026-02-07 20:13:03 +00:00
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
e5de49ee04
fix(backend): reduce allocations in autocomplete
2023-07-27 22:32:23 +01:00
Łukasz Mierzwa
c9c9f079ae
fix(tests): add ac benchmark
2023-07-27 18:02:04 +01:00
Łukasz Mierzwa
ee85d2e25a
fix(tests): fix linter errors
2023-03-20 11:37:23 +00:00
Łukasz Mierzwa
f29194b534
fix(backend): update lru to v2
2022-11-15 12:37:15 +00:00
Łukasz Mierzwa
689866a64c
fix(backend): enable more Go linters
2022-07-15 18:32:07 +01:00
Łukasz Mierzwa
e84bcd7203
feat(ui): add @inhibited and @inhibited_by filters
...
Fixes #4397
2022-06-22 18:16:33 +01:00
Łukasz Mierzwa
0a8769054a
chore(backend): use any instead of interface{}
2022-03-19 17:38:28 +00:00
Łukasz Mierzwa
8f7cca40cc
fix(api): use slices for labels instead of maps
2021-10-29 17:18:15 +01:00
Łukasz Mierzwa
31d21f29cf
chore(backend): use hashicorp/golang-lru for internal cache
2021-04-25 18:38:29 +01:00
Łukasz Mierzwa
886a59d97d
fix(backend): fail on empty filters
2020-12-13 13:18:38 +00:00
Łukasz Mierzwa
3f3259c9f0
fix(tests): fix flaky tests
2020-12-08 13:26:14 +00:00
Łukasz Mierzwa
49cb8c9192
fix(tests): fix filter test
2020-11-26 18:18:50 +00:00
Łukasz Mierzwa
170dba8a37
chore(backend): use zerolog instead of logrus
2020-10-15 10:10:00 +01:00
Łukasz Mierzwa
71e61f5f18
fix(api): correctly format numeric filter values in the API response
2020-08-12 12:42:03 +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
1a46986600
fix(backend): cleanup state checks
2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
ee718cff23
fix(backend): correctly filter alertmanager data
2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
82e762e672
fix(backend): add missing alertmanager filters
2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
e72fc2de1d
fix(tests): more test coverage
2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
e484580bbf
fix(api): better support for @alertmanager & @cluster filters
2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
9390bbccc0
feat(api): add @cluster filter
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
e1b548fc93
fix(tests): add more test coverage
2020-04-05 12:50:15 +01:00
Łukasz Mierzwa
c4731089ee
fix(tests): add more test coverage
2020-04-04 15:26:24 +01: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
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
2efa67ebd3
chore(tests): add more backend test coverage
2019-05-12 14:36:51 +01:00
Łukasz Mierzwa
571b08638d
fix(tests): correctly setup silences for filter tests
...
ft.Silence is not a pointer so it's never null, fix the check to use the ID which will default to empty string if Silence object is not populated
2019-03-31 20:44:54 -07:00
Łukasz Mierzwa
ade996a6ec
refactor(api): move autocomplete code to filters
2018-10-08 23:15:28 +01:00
Łukasz Mierzwa
f03887b56c
feat(api): add @silence_id filter
...
This allows to filter alerts by silence ID, only matches silenced alerts
2018-10-08 23:02:38 +01:00
Łukasz Mierzwa
fd645041b3
fix(api): remove alertmanager URI from per alert data
2018-09-11 20:49:07 +01:00
Łukasz Mierzwa
9c16ffa447
chore(project): rename from unsee to karma
...
Fixes prymitive/unsee#23
2018-09-09 14:12:26 +01:00
Łukasz Mierzwa
64f072b7d2
fix(style): simplify assignments
2018-08-11 08:31:18 +01:00
Łukasz Mierzwa
6c7ba5551c
refactor(api): move silences into a dedicated key in API response
...
A single silence can supress multiple alerts so to reduce response size and the amount of data react UI needs to track move it out of alert instance (which will deduplicate it) and on each alert only store a reference. In the API return all silences as a global dict and each alert only contains the ID of silences suppressing it.
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
4fe19c3d73
feat(api): extra fields with parsed filter data in the API response
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
b71883f1ef
Migrate to new repo
...
Forked unsee from cloudflare, so import paths needs to be updated
2018-06-07 15:30:57 +02:00
Łukasz Mierzwa
1f89ba05fe
Migrate rest of the code to new mapper and transport packages
2018-01-22 11:26:36 -08:00
Łukasz Mierzwa
983c7f50ee
Refactor NewAlertmanager() to not register new instance by default
...
This makes it easier to test code
2018-01-08 14:28:28 -08:00
Łukasz Mierzwa
c8b7b3bcd0
Implement functional options, this time for real
2018-01-08 13:30:46 -08:00
Łukasz Mierzwa
3eb28b3a6f
Use functional options pattern when creating Alertmanager instances
2018-01-06 17:19:05 -08:00
Łukasz Mierzwa
b6dd993c2b
Add support for proxying user connection to Alertmanager
...
Fixes #190 .
With this feature unsee can be configured to proxy requests to selected Alertmanager instances, if it's enabled unsee silence form will send a request via unsee rather than directly. This allows users to manage silences in environments where they have access to unsee but not to Alertmanager. Only silences endpoints on Alertmanager API are proxied.
2018-01-03 16:17:58 -08:00
Łukasz Mierzwa
aa606eff12
Migrate tests to new annotation scheme
2017-09-07 12:15:32 -07:00
Łukasz Mierzwa
54b1455276
Use dedicated struct for storing alert annotations
...
Annotations are just string maps, but to render those we need a bit more information (is it a link, should it be visible by default). Store them as more complex structs internally, this also allows us to drop alert.Links since we now have enough information to tell if annotation is a link
2017-09-07 12:15:32 -07:00