Łukasz Mierzwa
e52cc91964
feat(config): add cluster option to alertmanager instances
2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
7711f3bcd6
fix(tests): update tests with annotations order option
2020-05-09 15:18:56 +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
6313077150
feat(backend): add configuration options for silence ACL rules
2020-03-09 22:28:43 +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
05e9ab5299
chore(backend): switch to github.com/knadh/koanf for config handling
2020-02-09 15:37:01 +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
a2ca29d88e
feat(backend): add log.timestamp to disable timestamps in log messages
2020-01-31 15:07:27 +00:00
Łukasz Mierzwa
572f9975b8
feat(backend): add readonly option to alertmanager
2020-01-28 22:26:56 +00:00
Łukasz Mierzwa
4cc15f10d1
chore(backend): use new settings for UI theme configuration
2019-11-29 21:20:34 +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
6857368607
feat(backend): add backend configuration for silence acks, expose it via the api
2019-11-05 10:12:08 +00:00
Łukasz Mierzwa
03caf18a4f
feat(ui): allow setting default value for UI darkTheme option
2019-10-28 18:38:12 +00:00
Nicolas Ledez
ade15ae06d
Custom karma name ( #994 )
...
* feat: feat: add karma.name parameter
* fix(backend): remove duplicated 'name'
* feat(docs): mention karma:name in docs
* feat(demo): set custom title for demo
2019-10-05 12:17:09 +01:00
Łukasz Mierzwa
d7c15240f1
feat(backend): allow configuring defaults for the UI
2019-10-04 23:03:10 +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
939970fd5f
fix(backend): reformat backend code
2019-08-17 14:52:35 +01:00
Łukasz Mierzwa
1a98e01622
feat(backend): allow extracting silence author from auth headers
2019-07-12 23:04:15 +01:00
Giedrius Statkevičius
d0a1076962
internal/config: fix tests
...
Add a new field to the configuration string: log.format. It was missing
thus the unit test fails.
2019-05-27 11:12:51 +03:00
Łukasz Mierzwa
1eb1b6736a
feat(config): add options for ignoring labels when populating silences
2019-04-29 20:17:13 +01:00
Łukasz Mierzwa
058d10f4ba
chore(config): move value mapping options to grid:sorting section
...
Those options are only valid for sorting, so move it to the new config section where all sort options live
2019-02-21 18:15:11 +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
Łukasz Mierzwa
9e4abbd42b
feat(backend): allow setting custom colors for labels
...
This allows to have a user defined color (rgb or hex) for label values configured in the config file
2019-02-04 13:18:47 +00:00
Łukasz Mierzwa
b52c3f7af4
feat(backend): allow disabling TLS certificate validation
...
Fixes #409
2019-02-01 20:57:34 +01:00
Richard Maynard
ec14be0288
feat(backend): add support for custom headers ( #368 )
...
This will allow the AlertManager upstreams to be sent user defined HTTP headers.
2019-01-17 08:53:33 +00:00
Łukasz Mierzwa
e1f9686e3f
feat(backend): allow stripping annotations
...
This allows same filtering we already have with labels. Fixes #312
2019-01-15 22:12:23 +00:00
Łukasz Mierzwa
8d0b8037c6
feat(project): add support for loading extra css/js files
2018-10-30 20:56:44 +00:00
Łukasz Mierzwa
6932f25a37
chore(config): simplify configuration flags
...
Drop config.dir and use config.file to pass full path to the config file. Passing two options is just an unnecessary complexity
Fixes #22 .
2018-09-15 14:15:08 +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
cd0ef2421c
feat(tests): more backend tests
2018-09-07 22:03:33 +01: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
fd0eb46adf
Sanitize Alertmanager URI before putting it in /alerts.json reponse
...
Alertmanager URI might contain basic auth username & password, we should replace password with 'xxx' in logs and and error messages.
Go will still print it in HTTP request errors, but that will be fixed in the next Go release - https://go-review.googlesource.com/c/go/+/102855
Fixes #259
2018-04-27 09:36:12 -07:00
Łukasz Mierzwa
f6efebb934
Drop legacy settings
...
Those were left for compatibility and marked as deprecated, remove it for the next release
2018-02-01 21:09:36 -08:00
Łukasz Mierzwa
24335ebf1f
Add support for passing path to custom TLS CA cert & client key/cert pair
...
This adds support for passing a custom http.RoundTripper so in effect we can customize TLS client config for HTTPS requests.
Fixes #184
2018-01-23 19:22:12 -08:00
Łukasz Mierzwa
36178ee1ba
Add a 'simplified mode' for configuration that can be used with only one Alertmanager instance
2018-01-14 21:15:43 -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
7fa4230a1d
More config test coverage for both legacy and current paths
2017-12-03 11:34:12 -08:00
Łukasz Mierzwa
65a27b39df
Move label coloring config options from 'color' to 'labels' section
2017-12-03 10:09:17 -08:00
Łukasz Mierzwa
6273a5a585
Rewrite flag & env handling to use viper
...
This adds support for reading configuration from file, env support is still there and legacy env variables will still work, but flags are now following config schema, so they don't match old flags.
Having a config file allows to express more complex configuration options, which is needed for some feature requests.
2017-11-27 20:34:36 -08:00
Łukasz Mierzwa
5d4ae47888
Convert all packages to be internal
...
Internal packages are supported by Go 1.5+, any package in /internal/ dir is only importable from the same repo. This will cleanup main dir a bit and provide better namespace for unsee subpackages
2017-08-04 16:21:27 -07:00