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 uptargets defined by consul_sd_config listed multiple times #1083
Comments
This comment has been minimized.
This comment has been minimized.
|
If you hover over the "Base Labels" column in the status page, you are shown some labels. Also your configuration would be helpful, especially any relabeling. |
This comment has been minimized.
This comment has been minimized.
|
I'm also having the same problem now, but on 0.16.0rc1. Base Labels are the same for duplicated targets. My config is below:
|
This comment has been minimized.
This comment has been minimized.
|
FYI Reverting to Prometheus 0.15.1 fixes this problem and doesn't leave the duplicated targets in my status page |
This comment has been minimized.
This comment has been minimized.
|
Base labels completely identical. Config:
On Fri, Sep 18, 2015 at 6:43 PM, Robbie Trencheny notifications@github.com
|
This comment has been minimized.
This comment has been minimized.
|
Sorry, I should have been clearer. If you move your mouse over the base labels you see in general, a tooltip pops up that shows the label set before digestion to the base labels. The question is whether the labels in this those tooltips are also identical. |
This comment has been minimized.
This comment has been minimized.
|
@fabxc Yup, those are the labels I checked. Base labels are the same across duplicated targets. I checked multiple tags and targets to make sure. |
This comment has been minimized.
This comment has been minimized.
|
Yep, same here. And it would be nice if the base labels can be displayed in
|
This comment has been minimized.
This comment has been minimized.
|
The current way they're displayed was a quick hack to aid debugging, ultimately there should be a page showing a breakdown of all the labels. |
fabxc
added this to the v0.16.0 milestone
Sep 21, 2015
This comment has been minimized.
This comment has been minimized.
|
I'm assuming that this was caused by one of these commits: 4e84b86#diff-49cc5c249318707068b4168c27ab0260, 0138d37#diff-49cc5c249318707068b4168c27ab0260 Will look into it more in the next few days and will report back with what I find out. |
This comment has been minimized.
This comment has been minimized.
|
Yes, those are the most likely candidates. Thanks. |
fabxc
added
bug
labels
Sep 25, 2015
fabxc
referenced this issue
Sep 28, 2015
Merged
Fix target manager CPU busyloop caused by bad done-channel handling. #1116
This comment has been minimized.
This comment has been minimized.
|
@robbiet480 @guoshimin there's a slight chance that this was coincidentally fixed by #1116, which has just been merged. Could you give master another try? |
This comment has been minimized.
This comment has been minimized.
|
Built a binary at bf4e4a8, still having the same problem. |
This comment has been minimized.
This comment has been minimized.
|
Ok, thanks! We'll need to dig deeper into that then. |
This comment has been minimized.
This comment has been minimized.
|
@robbiet480 Any news on figuring out which of the two commits you mentioned creates this bug? |
This comment has been minimized.
This comment has been minimized.
|
@juliusv Haven't gotten to it yet, wrote a note to test again later today and will report back. |
This comment has been minimized.
This comment has been minimized.
|
@robbiet480 Awesome - that's the last critical bug before we can release 0.16.0 :) |
This comment has been minimized.
This comment has been minimized.
|
I now managed to reproduce this locally against our own Consul setup (we don't usually use Consul's interface directly for SD). Digging deeper now. |
This comment has been minimized.
This comment has been minimized.
|
Can confirm that this regression was introduced by #970. Looking deeper... |
This comment has been minimized.
This comment has been minimized.
|
Found the bug, PR incoming. |
This comment has been minimized.
This comment has been minimized.
|
Fix PR is out here: #1151 |
This comment has been minimized.
This comment has been minimized.
|
Thanks a lot! On Thu, Oct 8, 2015, 6:55 PM Julius Volz notifications@github.com wrote:
|
This comment has been minimized.
This comment has been minimized.
|
@fabxc It's the only thing blocking a 0.16.0 release :) Go go go :P |
juliusv
added a commit
that referenced
this issue
Oct 9, 2015
juliusv
closed this
in
#1151
Oct 9, 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. |
guoshimin commentedSep 14, 2015
I built a version from master on 20150909. The commit hash is 9a70ee7. I use consul service discovery to define targets. Over time, the same targets would be added again and again. Over the weekend, some targets were added half a dozen times on the status page.