Commit Graph

98 Commits (d9a8c453a0086c0f3d061e86c7be83d0595f9ba9)

Author SHA1 Message Date
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
DrAuYueng 69e309d202
Expose TargetsFromGroup/AlertmanagerFromGroup func and reuse this for (#9343)
3 years ago
Julien Pivotto 63b3e4e5ec
Enable HTTP2 again (#9398)
3 years ago
Paweł Szulik f5563bfe95
tests: Move from t.Errorf and others. (Part 2) (#9309)
3 years ago
Julius Volz 179b2155d1
Fix: Use json.Unmarshal() instead of json.Decoder (#9033)
3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
Marco Pracucci 4da5c25ea4
Upgrade prometheus/common to v0.21.0
4 years ago
Julien Pivotto 49016994ac Switch to alertmanager api v2
4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110)
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
Andy Bursavich 4e6a94a27d
Invert service discovery dependencies (#7701)
4 years ago
Javier Palomo Almena b58a613443
Replace sync/atomic with uber-go/atomic (#7683)
4 years ago
Hu Shuai 578f2b7974
Add a unit test for labelsToOpenAPILabelSet in notifier/notifier.go. (#7492)
4 years ago
Boqin Qin f3c6d26781
notifier: forget unlock before return (#7133)
5 years ago
Josh Soref 91d76c8023 Spelling (#6517)
5 years ago
Simon Pasquier cccd542891
*: avoid missed Alertmanager targets (#6455)
5 years ago
johncming 83cda784d2 skip empty alerts. (#6444)
5 years ago
johncming a5a4214f31 notifier: return nil is better. (#5958)
5 years ago
johncming 1e51ba4d30 notifier: Remove redundant format conversions. (#5960)
5 years ago
Simon Pasquier 24844cc222
notifier: move away test assertions from goroutines (#5430)
5 years ago
Julius Volz b5c833ca21
Update go.mod dependencies before release (#5883)
5 years ago
Max Leonard Inden 41c22effbe
config&notifier: Add option to use Alertmanager API v2
6 years ago
beorn7 dd81912554 Add objectives to Summaries
6 years ago
Yao Zengzeng dbd7a7400e some minor fixes: (#5535)
6 years ago
Romain Baugue 95193fa027 Exhaust every request body before closing it (#5166) (#5479)
6 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
6 years ago
Tom Wilkie c7b3535997 Use pkg/relabelling in remote write.
6 years ago
Lv Jiawei b50ea4834f Fix typo in comment (#5061)
6 years ago
Bartek Płotka 62c8337e77 Moved configuration into `relabel` package. (#4955)
6 years ago
Ben Kochie c6399296dc
Fix spelling/typos (#4921)
6 years ago
Daniele Sluijters f25a6baedb remote: Set User-Agent header in requests (#4891)
6 years ago
Simon Pasquier ed19373a78
*: remove use of golang.org/x/net/context (#4869)
6 years ago
Daisy T 7d01ead689 change time.duration to model.duration for standardization (#4479)
6 years ago
Karsten Weiss d79d573f71 Fix spelling mistakes found by codespell (#4065)
7 years ago
Adam Shannon 809881d7f5 support reading basic_auth password_file for HTTP basic auth (#4077)
7 years ago
Manos Fokas 25f929b772 Yaml UnmarshalStrict implementation. (#4033)
7 years ago
Solomon Van 68e394a56e notifier: update use testutil for testing (#3695)
7 years ago
Conor Broderick 1fd20fc954 Add dropped alertmanagers to alertmanagers API (#3865)
7 years ago
Matt Bostock f0fd701309 Clarify notify metric descriptions (#2551)
7 years ago
Krasi Georgiev 7858745c04 rename structs for consistency
7 years ago
Krasi Georgiev 719c579f7b refactor main execution reloadReady handling, update some comments
7 years ago
Krasi Georgiev 87a8fc24d5 fix the test
7 years ago
Krasi Georgiev 5260c650ec use the config hash for the map lookup
7 years ago
Krasi Georgiev 8369826808 comment to rethink the map reference for the notifier discovery
7 years ago
Krasi Georgiev 2e058b1c6f reload test
7 years ago
Krasi Georgiev 767faa44b6 fixed the tests
7 years ago
Krasi Georgiev d12e6f29fc discovery manager ApplyConfig now takes a direct ServiceDiscoveryConfig so that it can be used for the notify manager
7 years ago
Shubheksha Jalan 0471e64ad1 Use shared types from the `common` repo (#3674)
7 years ago