prometheus/util
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
..
cli Add a command to promtool that dumps metadata of heads.db 2016-03-07 16:21:57 +01:00
flock Add missing license headers 2016-04-13 16:08:22 +02:00
httputil Move retrieval.NewHTTPClient -> httputil.NewClientFromConfig 2017-03-20 14:17:04 +01:00
promlint Add promlint check for histogram/summary reserved names (#2626) 2017-04-15 22:38:01 +01:00
stats Make the storage interface higher-level. 2016-07-25 13:59:22 +02:00
strutil Revert "Revert the /graph changes." 2016-09-03 21:05:23 +02:00
testutil Fix minor typo 2016-02-22 23:25:17 +00:00
treecache Fix reload of ZooKeeper service discovery config (#2669) 2017-05-02 18:21:37 -05:00