40 Commits (01c55822169a9123367e333dc407edd8a263f75d)

Author SHA1 Message Date
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra' 3 years ago
lzhfromustc d42be7be76
test:Fix two potential goroutine leaks (#8964) 3 years ago
Vladimir Kononov 1043d2b594
Discovery: abstain from restarting providers if possible (#9321) (#9349) 3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log 4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122) 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
johncming 01d096567b
discovery: simplify code. (#7725) 4 years ago
Julien Pivotto 93e9c010f3
Add more Go leak tests (#7652) 4 years ago
ZouYu f494426f73
fix warning redundant type from array, slice, or map composite literal (#7106) 5 years ago
Nevill 7465f27ea5 Refactor on discovery/manager_test.go 5 years ago
Nevill 048f81218d Change prometheus_sd_configs_failed_total to Gauge 5 years ago
JoeWrightss e4b88704a6 Fix misspell in manager_test.go (#5279) 6 years ago
Matt Layher 302148fd69 *: apply gofmt -s 6 years ago
Simon Pasquier 8b91d39c43
discovery: send empty group on empty SD config (#4819) 6 years ago
Simon Pasquier e7cee1b5ba Remove tests redundant with TestTargetUpdatesOrder 6 years ago
Simon Pasquier 7dc3f11306 WIP discovery: refactor TestTargetUpdatesOrder 6 years ago
Simon Pasquier 8fd891bf3f Speed up tests that were still using the 5s timeout 6 years ago
Simon Pasquier 8289501420 Address krasi's comments 6 years ago
Simon Pasquier 1cee5b5b06 Don't multiple the interval value by 1ms in the mock 6 years ago
Simon Pasquier 4900405d2f Refactor TestCoordinationWithReceiver() to work with any Discoverer 6 years ago
Simon Pasquier 0798f14e02 Add TestCoordinationWithEmptyProvider 6 years ago
Simon Pasquier 48989d8996 discovery: add more tests 6 years ago
Krasi Georgiev ba7eb733e8 tidy up the discovery logs,updating loops and selects (#4556) 6 years ago
Simon Pasquier 674c76adb8 discovery: coalesce identical SD configurations (#3912) 6 years ago
Paul Gier 5c70213f9f config: set target group source index during unmarshalling (#4245) 7 years ago
Paul Gier d24d2acd11 config: set target group source index during unmarshalling (#4245) 7 years ago
Manos Fokas 25f929b772 Yaml UnmarshalStrict implementation. (#4033) 7 years ago
ferhat elmas ffa673f7d8 General simplifications (#3887) 7 years ago
Krasi Georgiev 818dda72db updated the sd tests 7 years ago
Krasi Georgiev fe926e7829 update the discover tests 7 years ago
Krasi Georgiev 767faa44b6 fixed the tests 7 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 7 years ago
Krasi Georgiev cabce21b70 delete empty targets sets to avoid memory leaks 7 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. 7 years ago
Shubheksha Jalan ec94df49d4 Refactor SD configuration to remove `config` dependency (#3629) 7 years ago
Krasi Georgiev 587dec9eb9 rebased and resolved conflicts with the new Discovery GUI page 7 years ago
Krasi Georgiev 80182a5d82 use poolKey as the pool map key to avoid multi dimensional maps 7 years ago
Krasi Georgiev 1ec76d1950 rearange the contexts variables and logic 7 years ago
Krasi Georgiev aca8f85699 fixed the tests 7 years ago
Krasi Georgiev e405e2f1ea refactored discovery 7 years ago
Bora Tunca 493fd6bd1f Fix race in test 7 years ago
Bora Tunca 3cc01a3088 Add more discovery tests for updating target groups (#3426) 7 years ago
Bora Tunca e63219ae6a Add discovery test (#3417) 7 years ago
Bora Tunca 09be10a553 Add test to prove redundant calls to identical target providers (#3404) 7 years ago
Julius Volz 099df0c5f0 Migrate "golang.org/x/net/context" -> "context" (#3333) 7 years ago
Fabian Reinartz d21f149745 *: migrate to go-kit/log 7 years ago
Chris Goller 42de0ae013 Use log.Logger interface for all discovery services 8 years ago
Fabian Reinartz 200bbe1bad config: extract SD and HTTPClient configurations 8 years ago
Fabian Reinartz d7f4f8b879 discovery: move TargetSet into discovery package 8 years ago