prometheus/discovery
Stephan Erb 0b9fca983b Fix reload of ZooKeeper service discovery config (#2669)
Rational:

* When the config is reloaded and the provider context is canceled, we need to
  exit the current ZK `TargetProvider.Run` method as a new provider will be
  instantiated.
* In case `Stop` is called on the `ZookeeperTreeCache`, the update/events
  channel may not be closed as it is shared by multiple caches and would
  thus be double closed.
* Stopping all `zookeeperTreeCacheNode`s on teardown ensures all associated
  watcher go-routines will be closed eagerly rather than implicityly on
  connection close events.
2017-05-02 18:21:37 -05:00
..
azure Follow golang naming conventions in discovery packages 2017-03-16 23:40:46 -03:00
consul Merge pull request #2479 from YKlausz/consul-tls 2017-03-20 11:40:18 +01:00
dns Follow golang naming conventions in discovery packages 2017-03-16 23:40:46 -03:00
ec2 Follow golang naming conventions in discovery packages 2017-03-16 23:40:46 -03:00
file Follow golang naming conventions in discovery packages 2017-03-16 23:40:46 -03:00
gce Follow golang naming conventions in discovery packages 2017-03-16 23:40:46 -03:00
kubernetes Follow golang naming conventions in discovery packages 2017-03-16 23:40:46 -03:00
marathon Add support for multiple ports in Marathon (#2506) 2017-03-18 22:10:44 +02:00
triton Add triton zone brand metadata 2017-04-06 21:35:42 +00:00
zookeeper Fix reload of ZooKeeper service discovery config (#2669) 2017-05-02 18:21:37 -05:00
discovery.go Fix Map Race by Moving Locking closer to the Write (#2476) 2017-04-07 08:55:01 +02:00
discovery_test.go config: extract SD and HTTPClient configurations 2016-11-23 18:23:37 +01:00