Commit Graph

59 Commits (b40865833d2f17289ee8bcdadebb4af29c9d352a)

Author SHA1 Message Date
Julien Pivotto 009017a3fb Revert "Remove deleted target from discovery manager"
1 year ago
haleyao c5a37ddad5 Remove deleted target from discovery manager
1 year ago
Bryan Boreham 2f58be840d service discovery: add config name to log messages
2 years ago
Sebastian Poxhofer 3f9a9d1e62
chore(discoveryManager): expose Discoverer refresh function (#10531)
3 years ago
Robert Fratto 44a5e705be
discovery: Expose custom HTTP client options to discoverers (#10462)
3 years ago
Julien Pivotto 9621c2c0cc
Fix race with targets update during ApplyConfig (#9656)
3 years ago
Vladimir Kononov 1043d2b594
Discovery: abstain from restarting providers if possible (#9321) (#9349)
3 years ago
Julien Pivotto 432005826d
Add a feature flag to enable the new discovery manager (#9537)
3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
Julien Pivotto e1774b6f83 Fix the computation of prometheus_sd_discovered_targets
4 years ago
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)
5 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
Goutham Veeramachaneni ffb7f829ec
Merge pull request #4730 from prometheus/release-2.4
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
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
Krasi Georgiev 53691ae261 Simplify SD update throttling (#4523)
6 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