Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upserverset_sd_configs is only scraping the first configured path #1137
Comments
This comment has been minimized.
This comment has been minimized.
|
@brian-brazil serversets are your area of expertise I guess :) |
fabxc
added
the
bug
label
Oct 6, 2015
fabxc
added this to the v0.16.0 milestone
Oct 6, 2015
This comment has been minimized.
This comment has been minimized.
|
I have zero knowledge about Zookeeper or serversets, but this line stood out to me very obviously: https://github.com/prometheus/prometheus/blob/master/retrieval/discovery/serverset.go#L90 sd.treeCache = newZookeeperTreeCache(conn, conf.Paths[0], updates)I guess that's the bug and we just need one tree cache per watched path? |
This comment has been minimized.
This comment has been minimized.
|
Without reading the code much further, does this branch work? https://github.com/prometheus/prometheus/commits/fix-serverset-multiple-paths See commit 62a6871 |
juliusv
referenced this issue
Oct 6, 2015
Merged
Fix watching multiple Zookeeper paths in serverset SD. #1148
This comment has been minimized.
This comment has been minimized.
|
Looks valid. I will give it a test run and report back here. |
This comment has been minimized.
This comment has been minimized.
|
Thanks! It's now out in a PR as well: #1148 |
This comment has been minimized.
This comment has been minimized.
|
@StephanErb Any news on this one? |
juliusv
closed this
in
60cf401
Oct 8, 2015
juliusv
added a commit
that referenced
this issue
Oct 16, 2015
fabxc
added a commit
that referenced
this issue
Jan 11, 2016
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
StephanErb commentedOct 2, 2015
I am running Prometheus 0.16.0rc2 and have the following config:
/aurora.I believe this code here might be the culprint