Commit Graph

74 Commits (eb8d34c2add51d6f35a2327de10ce16139a7a86c)

Author SHA1 Message Date
Lukasz Mierzwa 59761f631b Move m.targetsMtx.Lock down into the loop 7 months ago
Lukasz Mierzwa 7d55ee8cc8 Try fixing potential deadlocks in discovery 7 months ago
Matthieu MOREL b472ce7010 chore: enable early-return from revive 10 months ago
TJ Hoplock 6ebfbd2d54 chore!: adopt log/slog, remove go-kit/log 1 year ago
machine424 d23d196db5 fix(discovery): prevent the manager from storing stale targetGroups 1 year ago
machine424 c586c15ae6 fix(discovery): make discovery manager notify consumers of dropped targets for still defined jobs 1 year ago
beorn7 0f760f63dd lint: Revamp our linting rules, mostly around doc comments 1 year ago
machine424 94d28cd6cf chore(notifier): add a reproducer for https://github.com/prometheus/prometheus/issues/13676 2 years ago
David Ashpole bbfc72b4e2
support unregistering discovery manager metrics (#13896) 2 years ago
Paulin Todev 78411d5e8b
SD Managers taking over responsibility for registration of debug metrics (#13375) 2 years ago
Paulin Todev 6a5306a53c
Use const labels for Discovery Manager metrics. 2 years ago
Paulin Todev 6de80d7fb0
Allow non-default registry to be used for metrics of SD components 2 years ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments 2 years ago
Julien Pivotto 009017a3fb Revert "Remove deleted target from discovery manager" 2 years ago
haleyao c5a37ddad5 Remove deleted target from discovery manager 2 years ago
Bryan Boreham 2f58be840d service discovery: add config name to log messages 3 years ago
Sebastian Poxhofer 3f9a9d1e62
chore(discoveryManager): expose Discoverer refresh function (#10531) 4 years ago
Jinwook Jeong c7c7847b6f Fix discovery managers to be properly cancelled 4 years ago
Robert Fratto 44a5e705be
discovery: Expose custom HTTP client options to discoverers (#10462) 4 years ago
Julien Pivotto 9621c2c0cc
Fix race with targets update during ApplyConfig (#9656) 4 years ago
Vladimir Kononov 1043d2b594
Discovery: abstain from restarting providers if possible (#9321) (#9349) 4 years ago
Julien Pivotto 432005826d
Add a feature flag to enable the new discovery manager (#9537) 4 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log 5 years ago
Julien Pivotto e1774b6f83 Fix the computation of prometheus_sd_discovered_targets 5 years ago
Andy Bursavich 4e6a94a27d
Invert service discovery dependencies (#7701) 5 years ago
Julien Pivotto 59de58d380
Docker Swarm service discovery (#7420) 6 years ago
Julien Pivotto c61141ce51
Add DigitalOcean service discovery (#7407) 6 years ago
Marek Slabicki 8224ddec23
Capitalizing first letter of all log lines (#7043) 6 years ago
Julien Pivotto c67f81937c
discovery: updateGroup should not create targets[poolKey] in the loop (#6903) 6 years ago
johncming 17683d074c discovery: fix bug that use rlock for read. (#5928) 6 years ago
Nevill 55661ab004 Set failedConfigs only once right after registerProviders finished 6 years ago
Nevill 048f81218d Change prometheus_sd_configs_failed_total to Gauge 6 years ago
Harkishen Singh d98d4a9bf0 remove resetting of manager properties and init manager props under locking (#5979) 6 years ago
Matt Layher 302148fd69 *: apply gofmt -s 7 years ago
Ilya Gladyshev 922c17e119 added name label to all discovery metrics (#5002) 7 years ago
Simon Pasquier 8b91d39c43
discovery: send empty group on empty SD config (#4819) 7 years ago
Simon Pasquier a30348f1a4 discovery: add config label to discovered targets metric (#4753) 7 years ago
Simon Pasquier 657199af22 Address Krasi comments 7 years ago
Simon Pasquier 5df757fdd4 zookeeper: fix panic 7 years ago
Simon Pasquier 365931ea83 discovery: add metrics + send updates from one goroutine only 7 years ago
Augustin Husson 97950a3fae remove group if the target is empty at adapter level 7 years ago
Simon Pasquier 48989d8996 discovery: add more tests 7 years ago
Augustin Husson 9970e4e7e4 unregister source when the target is empty 7 years ago
Krasi Georgiev ba7eb733e8 tidy up the discovery logs,updating loops and selects (#4556) 7 years ago
Simon Pasquier 674c76adb8 discovery: coalesce identical SD configurations (#3912) 7 years ago
Krasi Georgiev 53691ae261 Simplify SD update throttling (#4523) 7 years ago
Paul Gier 5c70213f9f config: set target group source index during unmarshalling (#4245) 8 years ago
Paul Gier d24d2acd11 config: set target group source index during unmarshalling (#4245) 8 years ago
Callum Styan 03578d5df8 add example usage of SD adapter for converting unsupported SD type to filesd (#3720) 8 years ago
ferhat elmas ffa673f7d8 General simplifications (#3887) 8 years ago