49 Commits (8c8de46003d1800c9d40121b4a5e5de8582ef6e1)

Author SHA1 Message Date
Andy Bursavich 4e6a94a27d
Invert service discovery dependencies (#7701) 4 years ago
Julien Pivotto 59de58d380
Docker Swarm service discovery (#7420) 4 years ago
Julien Pivotto c61141ce51
Add DigitalOcean service discovery (#7407) 4 years ago
Marek Slabicki 8224ddec23
Capitalizing first letter of all log lines (#7043) 5 years ago
Julien Pivotto c67f81937c
discovery: updateGroup should not create targets[poolKey] in the loop (#6903) 5 years ago
johncming 17683d074c discovery: fix bug that use rlock for read. (#5928) 5 years ago
Nevill 55661ab004 Set failedConfigs only once right after registerProviders finished 5 years ago
Nevill 048f81218d Change prometheus_sd_configs_failed_total to Gauge 5 years ago
Harkishen Singh d98d4a9bf0 remove resetting of manager properties and init manager props under locking (#5979) 5 years ago
Matt Layher 302148fd69 *: apply gofmt -s 6 years ago
Ilya Gladyshev 922c17e119 added name label to all discovery metrics (#5002) 6 years ago
Simon Pasquier 8b91d39c43
discovery: send empty group on empty SD config (#4819) 6 years ago
Simon Pasquier a30348f1a4 discovery: add config label to discovered targets metric (#4753) 6 years ago
Simon Pasquier 657199af22 Address Krasi comments 6 years ago
Simon Pasquier 5df757fdd4 zookeeper: fix panic 6 years ago
Simon Pasquier 365931ea83 discovery: add metrics + send updates from one goroutine only 6 years ago
Augustin Husson 97950a3fae remove group if the target is empty at adapter level 6 years ago
Simon Pasquier 48989d8996 discovery: add more tests 6 years ago
Augustin Husson 9970e4e7e4 unregister source when the target is empty 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
Krasi Georgiev 53691ae261 Simplify SD update throttling (#4523) 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
Callum Styan 03578d5df8 add example usage of SD adapter for converting unsupported SD type to filesd (#3720) 7 years ago
ferhat elmas ffa673f7d8 General simplifications (#3887) 7 years ago
Krasi Georgiev acc4197098 remove dicovery race for the context field 7 years ago
Frederic Branczyk 73e829137b
discovery: Cleanup ticker 7 years ago
Frederic Branczyk cfa0253ed8
discovery: Schedule updates to throttle 7 years ago
Krasi Georgiev ec26751fd2 use mutexes for the discovery manager instead of a loop as this was a stupid idea 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
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