Commit Graph

47 Commits (9c4782f1cc34f85f07daaaed14af2e7ad1ff56a0)

Author SHA1 Message Date
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254) 2 years ago
Julien Pivotto 009017a3fb Revert "Remove deleted target from discovery manager" 2 years ago
haleyao c5a37ddad5 Remove deleted target from discovery manager 2 years ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci 3 years ago
Shihao Xia d26fd5c97b
fix potential goroutine leaks (#10057) 4 years ago
Julien Pivotto 9621c2c0cc
Fix race with targets update during ApplyConfig (#9656) 4 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra' 4 years ago
lzhfromustc d42be7be76
test:Fix two potential goroutine leaks (#8964) 4 years ago
Vladimir Kononov 1043d2b594
Discovery: abstain from restarting providers if possible (#9321) (#9349) 4 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log 5 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122) 5 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087) 5 years ago
Andy Bursavich 4e6a94a27d
Invert service discovery dependencies (#7701) 5 years ago
johncming 01d096567b
discovery: simplify code. (#7725) 5 years ago
Julien Pivotto 93e9c010f3
Add more Go leak tests (#7652) 5 years ago
ZouYu f494426f73
fix warning redundant type from array, slice, or map composite literal (#7106) 6 years ago
Nevill 7465f27ea5 Refactor on discovery/manager_test.go 6 years ago
Nevill 048f81218d Change prometheus_sd_configs_failed_total to Gauge 6 years ago
JoeWrightss e4b88704a6 Fix misspell in manager_test.go (#5279) 7 years ago
Matt Layher 302148fd69 *: apply gofmt -s 7 years ago
Simon Pasquier 8b91d39c43
discovery: send empty group on empty SD config (#4819) 7 years ago
Simon Pasquier e7cee1b5ba Remove tests redundant with TestTargetUpdatesOrder 7 years ago
Simon Pasquier 7dc3f11306 WIP discovery: refactor TestTargetUpdatesOrder 7 years ago
Simon Pasquier 8fd891bf3f Speed up tests that were still using the 5s timeout 7 years ago
Simon Pasquier 8289501420 Address krasi's comments 7 years ago
Simon Pasquier 1cee5b5b06 Don't multiple the interval value by 1ms in the mock 7 years ago
Simon Pasquier 4900405d2f Refactor TestCoordinationWithReceiver() to work with any Discoverer 7 years ago
Simon Pasquier 0798f14e02 Add TestCoordinationWithEmptyProvider 7 years ago
Simon Pasquier 48989d8996 discovery: add more tests 7 years ago
Krasi Georgiev ba7eb733e8 tidy up the discovery logs,updating loops and selects (#4556) 7 years ago
Simon Pasquier 674c76adb8 discovery: coalesce identical SD configurations (#3912) 7 years ago
Paul Gier 5c70213f9f config: set target group source index during unmarshalling (#4245) 8 years ago
Paul Gier d24d2acd11 config: set target group source index during unmarshalling (#4245) 8 years ago
Manos Fokas 25f929b772 Yaml UnmarshalStrict implementation. (#4033) 8 years ago
ferhat elmas ffa673f7d8 General simplifications (#3887) 8 years ago
Krasi Georgiev 818dda72db updated the sd tests 8 years ago
Krasi Georgiev fe926e7829 update the discover tests 8 years ago
Krasi Georgiev 767faa44b6 fixed the tests 8 years ago
Krasi Georgiev febebcd49a more comments for the future ME, and reverted the Discovery manager execution changes as these were correct in the first place 8 years ago
Krasi Georgiev cabce21b70 delete empty targets sets to avoid memory leaks 8 years ago
Krasi Georgiev 135ea0f793 discovery manager - doesn't need sorting of the target groups so move it in the discovery manager tests as we only need it there. 8 years ago
Shubheksha Jalan ec94df49d4 Refactor SD configuration to remove `config` dependency (#3629) 8 years ago
Krasi Georgiev 587dec9eb9 rebased and resolved conflicts with the new Discovery GUI page 8 years ago
Krasi Georgiev 80182a5d82 use poolKey as the pool map key to avoid multi dimensional maps 8 years ago
Krasi Georgiev 1ec76d1950 rearange the contexts variables and logic 8 years ago
Krasi Georgiev aca8f85699 fixed the tests 8 years ago
Krasi Georgiev e405e2f1ea refactored discovery 8 years ago
Bora Tunca 493fd6bd1f Fix race in test 8 years ago
Bora Tunca 3cc01a3088 Add more discovery tests for updating target groups (#3426) 8 years ago
Bora Tunca e63219ae6a Add discovery test (#3417) 8 years ago