Commit Graph

64 Commits (7bbae70b40e7201979ccbcabb9abb1437e3b4dc2)

Author SHA1 Message Date
Paulin Todev 6a5306a53c
Use const labels for Discovery Manager metrics.
12 months ago
Paulin Todev 6de80d7fb0
Allow non-default registry to be used for metrics of SD components
12 months ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments
1 year ago
Julien Pivotto 4b735f02a6
Merge pull request #10569 from zzJinux/discovery-manager-run
1 year ago
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)
2 years ago
Jinwook Jeong c7c7847b6f Fix discovery managers to be properly cancelled
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