-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd: make bucket upload command take lset from flags #7059
cmd: make bucket upload command take lset from flags #7059
Conversation
5214faa
to
7ce06ee
Compare
Just a note On docs would be nice show how to pass multiple label values. Besides that LGTM 🙌 |
Umm, why we don't keep the previous functionality as well? Taking lset from flag can be an additional flag. But I am fine to merge this change. |
I think it might be redundant, if we have prometheus around its arguable that we know its ext labels; we can just read prometheus config and put the labels here |
Since @nicolastakashi 's usecase is in Prometheus operator, I think it would be nice to get this value dynamically rather than specifying ext labels manually, considering multi cluster scenario. But I am fine if he is ok with it |
One second, during tests i found there is a deadlock somewhere, ill try to debug and include fix here to! Edit: found and fixed it. |
7ce06ee
to
d693128
Compare
d693128
to
43d90f2
Compare
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
43d90f2
to
0cf52fa
Compare
What's the fix for deadlock? |
No actor on g, it would hang in main on g.Run() when I debugged it in dlv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de> Signed-off-by: hanyuting8 <hytxidian@163.com>
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de> Signed-off-by: hanyuting8 <hytxidian@163.com>
Changes
tools bucket upload-blocks
should get lset from flags ( which is nicely in-line with ruler and receiver then too )Verification