inosato
791e542100
Remove ioutil
...
Signed-off-by: inosato <si17_21@yahoo.co.jp>
2022-07-18 22:01:02 +09:00
Simon Pasquier
48a99764a1
*: bump to Go 1.17 ( #2792 )
...
* *: bump to Go 1.17
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* *: fix yamllint errors
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2021-12-22 14:03:53 +01:00
Dustin Hooten
ff85bec45b
Secure cluster traffic via mutual TLS ( #2237 )
...
* Add TLS option to gossip cluster
Co-authored-by: Sharad Gaur <sharadgaur@gmail.com>
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* generate new certs that expire in 100 years
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* Fix tls_connection attributes
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* Improve error message
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* Fix tls client config docs
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* Add capacity arg to message buffer
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* fix formatting
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* Update version; add version validation
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* use lru cache for connection pool
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* lock reading from the connection
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* when extracting net.Conn from tlsConn, lock and throw away wrapper
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* Add mutex to connection pool to protect cache
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* fix linting
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
Co-authored-by: Sharad Gaur <sharadgaur@gmail.com>
2021-08-09 14:58:06 -06:00
Julien Pivotto
565fb4fc00
Remove resolve timeout from the config shipped by default ( #2349 )
...
It is not needed with Prometheus and can confuse users.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-08-25 15:46:38 +02:00
Julien Pivotto
7d28e5b876
Change HA exemple defaults to be more reasonable ( #2325 )
...
10s+10s does not really change.
Give 30s for group wait and 5m for group interval seems better.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-07-24 14:59:27 +02:00
Alan
bd53c5ac39
add shebang for test script ( #2206 )
...
add shebang for test script
Signed-off-by: alan <zg.zhu@daocloud.io>
2020-03-11 10:16:53 +01:00
Julius Volz
6d0edbe630
Fix a bunch of unhandled errors ( #1501 )
...
...as discovered by "gosec" (many other ones reported, but not all make
a lot of sense to fix).
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2018-08-05 15:38:25 +02:00
Simon Pasquier
0ebaeccd4b
*: add missing license headers
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2018-05-14 17:37:13 +02:00
stuart nelson
b1625a08a0
Provide default working config for artifacts ( #1313 )
2018-04-05 16:25:45 +02:00
Andrey Kuzmin
250bd35c97
Linkify alert annotations ( #946 )
...
* Make links in annotations clickable
* Update test script and bindata.go
* Add target = _blank
2017-08-13 19:48:36 +02:00
Max Leonard Inden
88961051b1
Add current time to go webhook standard output
...
This is just a small addition for better debugging of notifications send
by Alertmanager.
2017-07-22 11:25:25 +02:00
stuart nelson
a7009a9db7
Stn/add receiver support ( #872 )
...
Add ability to filter alerts by receiver in UI. This adds changes both in the Elm UI, as well as the Go backend.
2017-06-26 18:20:26 +02:00
Andrey Kuzmin
ffe79ad410
Inhibited indicator in the UI ( #838 )
...
* Add inhibited indicator
* Update bindata.go
2017-06-01 10:43:44 +02:00
Andrey Kuzmin
eff5341dec
Show alert annotations ( #833 )
...
* Show annotations
* Update bindata.go
* Fix the versions of elm modules
2017-05-30 21:04:49 +02:00
Frederic Branczyk
b901ea8192
add HA documentation to README.md
2016-09-09 15:28:32 +02:00
Fabian Reinartz
60bb55b4aa
example: fix config typo
2016-09-06 11:10:29 +02:00
Fabian Reinartz
44bde96447
examples: pretty print JSON in webhook
2016-09-05 11:17:28 +02:00
Fabian Reinartz
dd7a9277a6
example: add HA config file
2016-08-31 12:02:16 +02:00
Fabian Reinartz
d48b4e5dbd
examples: add Go logging webhook
2016-08-19 12:13:39 +02:00
Fabian Reinartz
26b6eac6e1
*: add Procfile for example setup
...
This add a Procfile that can be run with `goreman start`. It starts
three Alertmanagers and one webhook receiver. The webhook receiver
simply reflects sent messages.
The send_alerts.sh script simulates a set of alerts sent by a Prometheus
server to all Alertmanagers at once.
2016-08-09 12:00:28 +02:00