Commit Graph

30 Commits (201491fd1b6b02fab60f7630dff23218bc3d1067)

Author SHA1 Message Date
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 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