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
76dd51bb92
feat(api): expose Alertmanager instance version and cluster members
...
Store and expose via API the version of each Alertmanager instance and the list of instances in the same cluster
2018-11-30 18:35:34 +00: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
c6dc362186
fix(style): error strings should not be capitalized or end with punctuation or a newline
2018-08-11 23:03:02 +01:00
Łukasz Mierzwa
d934dbb053
feat(api): add /labelNames.json endpoint
...
This endpoint will be used for label name autocomplete in the silence form
2018-08-10 17:36:00 +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
49d1ed2e1e
Pass HTTP transport to the proxy
...
When we proxy requests we should use same transport as we use when collecting alerts & silences
2018-01-23 21:37:56 -08:00
Łukasz Mierzwa
d5a7cb9ace
Rename Transport interface to Reader
2018-01-23 19:40:24 -08:00
Łukasz Mierzwa
6f89a77f8d
Rename 'transport' package to 'uri'
...
This package adds handlers for different URI schemes, name clashes with http.Transport which is now passed around. Rename it to make it more obvious what it does
2018-01-23 19:32:39 -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
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
efda91f542
Rename Alertmanager.Timeout -> Alertmanager.RequestTimeout
2018-01-08 13:51:38 -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
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