inosato
791e542100
Remove ioutil
...
Signed-off-by: inosato <si17_21@yahoo.co.jp>
2022-07-18 22:01:02 +09:00
Matthias Loibl
a6d10bd5bc
Update golangci-lint and fix complaints ( #2853 )
...
* Copy latest golangci-lint files from Prometheus
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* Use grafana/regexp over stdlib regexp
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* Fix typos in comments
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* Fix goimports complains in import sorting
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* gofumpt all Go files
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* Update naming to comply with revive linter
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* config: Fix error messages to be lower case
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* test/cli: Fix error messages to be lower case
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* .golangci.yaml: Remove obsolete space
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* config: Fix expected victorOps error
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* Use stdlib regexp
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* Clean up Go modules
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
2022-03-25 17:59:51 +01:00
Philip Gough
30e0da4754
opsgenie: Extend config with 'entity' and 'actions' fields ( #2753 )
...
Signed-off-by: Philip Gough <philip.p.gough@gmail.com>
2021-11-13 07:37:59 +01:00
markoposavec
05490d8954
Dynamic opsgenie responders ( #2685 )
...
* added option to specify multiple teams in opsgenie configuration
Signed-off-by: Marko Posavec <maposavec@infobip.com>
2021-11-04 22:32:20 +01:00
Jan-Otto Kröpke
186362cef0
Implement opsgenie_api_key_file ( #2728 )
...
Signed-off-by: Jan-Otto Kröpke <joe@adorsys.de>
2021-10-21 09:29:03 +02:00
Tomáš Freund
10e6e04376
fix imports order
...
Signed-off-by: Tomáš Freund <tomas.freund@datamole.cz>
2021-08-10 19:05:54 +02:00
Tomáš Freund
92e7c4b1ea
fix imports
...
Signed-off-by: Tomáš Freund <tomas.freund@datamole.cz>
2021-08-10 19:05:54 +02:00
Tomáš Freund
6f071959b7
change update_message and update_description options to a single update_alerts option
...
Signed-off-by: Tomáš Freund <tomas.freund@datamole.cz>
2021-08-10 19:05:54 +02:00
Tomáš Freund
79dfb86c7b
add the option to update message and description when sending alerts to opsgenie
...
Signed-off-by: Tomáš Freund <tomas.freund@datamole.cz>
2021-08-10 19:05:54 +02:00
Julien Pivotto
b2a4cacb95
Update go dependencies & switch to go-kit/log
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-08-02 12:43:23 +02:00
ricoberger
4b59db0adc
Always pass all labels to Opsgenie
...
Signed-off-by: ricoberger <mail@ricoberger.de>
2020-06-09 13:51:46 +02:00
ricoberger
3cff6cb5b5
Add tests for Opsgenie details
...
Signed-off-by: ricoberger <mail@ricoberger.de>
2020-06-09 09:00:52 +02:00
Simon Pasquier
655947d7e0
notify: refactor code to retry requests ( #1974 )
...
* notify: refactor code to retry requests
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* s/Process/Check/
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-08-02 16:17:40 +02:00
Simon Pasquier
bdd91d2639
notify/opsgenie: log error from OpsGenie API ( #1965 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-07-23 09:49:15 +02:00
Simon Pasquier
0c3120efac
*: split notify package
...
Instead of keeping all notifiers in the notify package, it splits them
into individual sub-packages. This improves readability and
maintainability of the code.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-06-18 15:36:19 +02:00