alertmanager/cli
Kellen Fox b949f0dc19 Amtool: Implement filter by receiver fixes:#937 (#1402)
* Amtool: Implement filter by receiver

* Adds receiver flag to amtool alert query
* Adds receiver argument to alert http client
* Updates http client tests for added argument

Also works: scpecifying `receiver: "receiver-123"` in config file
automaticly filters all alerts shown

* Include receiver in amtool config docs

Now that I've implemented the receiver in amtool I should add the new
feature to the documentation.

*  #937 Add mention of supporting regex syntax to receiver flag
2018-06-07 09:21:12 +02:00
..
config *: add missing license headers 2018-05-14 17:37:13 +02:00
format *: add missing license headers 2018-05-14 17:37:13 +02:00
testdata amtool check-config (#978) 2017-09-07 10:58:58 +02:00
alert.go Amtool: Implement filter by receiver fixes:#937 (#1402) 2018-06-07 09:21:12 +02:00
check_config_test.go *: add missing license headers 2018-05-14 17:37:13 +02:00
check_config.go Merge pull request #1381 from simonpasquier/add-missing-header 2018-05-28 10:45:39 +02:00
config.go *: add missing license headers 2018-05-14 17:37:13 +02:00
root.go *: add missing license headers 2018-05-14 17:37:13 +02:00
silence_add.go *: add missing license headers 2018-05-14 17:37:13 +02:00
silence_expire.go *: add missing license headers 2018-05-14 17:37:13 +02:00
silence_import.go *: add missing license headers 2018-05-14 17:37:13 +02:00
silence_query.go *: add missing license headers 2018-05-14 17:37:13 +02:00
silence_update.go *: add missing license headers 2018-05-14 17:37:13 +02:00
silence.go *: add missing license headers 2018-05-14 17:37:13 +02:00
utils.go *: add missing license headers 2018-05-14 17:37:13 +02:00