Łukasz Mierzwa
e484580bbf
fix(api): better support for @alertmanager & @cluster filters
2020-06-12 19:14:17 +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
9390bbccc0
feat(api): add @cluster filter
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
e52cc91964
feat(config): add cluster option to alertmanager instances
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
Łukasz Mierzwa
7711f3bcd6
fix(tests): update tests with annotations order option
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
51f5c816a5
fix(tests): more test coverage
2020-04-21 17:33:31 +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
1e787e0c9c
fix(backend): ensure alertmanager server uses default name if not set
...
Fixes #1646
2020-04-20 15:52:58 +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
f41066b6ba
feat(api): expose per grid state count
2020-03-31 09:16:55 +01:00
Łukasz Mierzwa
53289a1a06
feat(backend): add multi-grid UI options to configuration file
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
4117a0b391
fix(backend): anchor all regexes in the config
2020-03-26 16:12:23 +00:00
Łukasz Mierzwa
225bf73373
fix(backend): remove empty config slice checks
2020-03-25 22:41:51 +00:00
Łukasz Mierzwa
8d0495766c
fix(backend): regenerate code using swagger v0.23.0
2020-03-25 14:59:00 +00:00
Renovate Bot
0e079f4e09
chore(deps): update quay.io/goswagger/swagger docker tag to v0.23.0
2020-03-25 14:59:00 +00:00
Łukasz Mierzwa
6313077150
feat(backend): add configuration options for silence ACL rules
2020-03-09 22:28:43 +00:00
Łukasz Mierzwa
2ab6892c85
feat(backend): use username from credentials for silences
...
When authentication is enabled and proxy mode is on then ensure all silences are created with the username from credentials, rather than what the user sends.
2020-02-26 11:26:19 +00:00
Łukasz Mierzwa
bd2017314f
fix(backend): correctly load configuration using CONFIG_FILE env variable
...
Fixes #1466
2020-02-26 10:27:49 +00:00
Łukasz Mierzwa
1b31486eff
fix(backend): remove deprecated BuildNameToCertificate usage
2020-02-26 09:48:29 +00:00
Łukasz Mierzwa
e9306d2222
fix(backend): remove silenceForm.author config section
2020-02-22 15:50:01 +00:00
Łukasz Mierzwa
fbff53c51b
feat(backend): support header based auth
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
6ce7b88bd6
fix(tests): more test coverage for cors credential settings
2020-02-19 13:08:08 +00:00
Łukasz Mierzwa
f502319005
feat(backend): allow setting CORS credentials policy
2020-02-19 09:59:35 +00:00
Łukasz Mierzwa
f8ee7b3cd0
fix(backend): empty string slice configuration options end up being nil
...
Fixes #1439
2020-02-18 13:28:35 +00:00
Łukasz Mierzwa
265dbf823f
fix(backend): remove file:// transport support
2020-02-12 16:51:09 +00:00
Łukasz Mierzwa
908c2b96d5
fix(project): drop support for Alertmanager v1 API
2020-02-12 16:09:55 +00:00
Łukasz Mierzwa
95f197bd34
fix(tests): more test coverage
2020-02-11 15:32:41 +00:00
Łukasz Mierzwa
84b36b12bd
fix(tests): more test coverage
2020-02-11 13:15:44 +00:00
Łukasz Mierzwa
05e9ab5299
chore(backend): switch to github.com/knadh/koanf for config handling
2020-02-09 15:37:01 +00:00
Łukasz Mierzwa
62b7d85f70
fix(tests): remove v0.61 mapper
...
That version had problems, remove it
2020-02-06 15:08:17 +00:00
Łukasz Mierzwa
db78b6bca1
chore(backend): refactor config flag setup for better test coverage
2020-02-05 16:57:56 +00:00
Łukasz Mierzwa
43bd35a94f
fix(backend): update api v2 client code
2020-02-02 10:38:14 +00:00
Renovate Bot
5a07013f13
chore(deps): update quay.io/goswagger/swagger docker tag to v0.22.0
2020-02-02 10:38:14 +00:00
Łukasz Mierzwa
4ac60a7c2b
fix(tests): more complete config tests
2020-01-31 16:59:26 +00:00
Łukasz Mierzwa
a2ca29d88e
feat(backend): add log.timestamp to disable timestamps in log messages
2020-01-31 15:07:27 +00:00
Łukasz Mierzwa
3a0492bf74
fix(tests): add more test coverage
2020-01-28 22:26:56 +00:00
Łukasz Mierzwa
572f9975b8
feat(backend): add readonly option to alertmanager
2020-01-28 22:26:56 +00:00