Commit Graph

71 Commits (main)

Author SHA1 Message Date
Krasi Georgiev d12e6f29fc discovery manager ApplyConfig now takes a direct ServiceDiscoveryConfig so that it can be used for the notify manager
7 years ago
Krasi Georgiev 790cf30fcb remove uneeded check
7 years ago
Krasi Georgiev 38938ba493 comment nits
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 78ba5e62a6 few mote usefull comments
7 years ago
Krasi Georgiev cabce21b70 delete empty targets sets to avoid memory leaks
7 years ago
Krasi Georgiev abfd9f1920 nits
7 years ago
Krasi Georgiev 546c29af5b return early for nil target groups
7 years ago
Krasi Georgiev 77bf6bece0 discovery-manager comment update
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
Krasi Georgiev 638818a974 some Discoverers send nil targetgroup so need to check for it when updating a group
7 years ago
Krasi Georgiev 7e28397a2c discovery - handle Discoverers that send only target Group updates rather than all Targets on every update.
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 fe6c544532 some renaming and comments fixes.
7 years ago
Krasi Georgiev f5c2c5ff8f brake the start provider func so that can run unit tests against it.
7 years ago
Krasi Georgiev c5cb0d2910 simplify naming and API.
7 years ago
Krasi Georgiev 9c61f0e8a0 scrape pool doesn't rely on context as Stop() needs to be blocking to prevent Scrape loops trying to write to a closed TSDB storage.
7 years ago
Krasi Georgiev e405e2f1ea refactored discovery
7 years ago