-
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
Reference closure scoped family generator #1240
Reference closure scoped family generator #1240
Conversation
bf93cd5
to
4328e3c
Compare
Hey, thanks for this! Will test this out. I changed the base to release-2.0 as per our release process. Do you mind rebasing with the release-2.0 branch as well, thanks! There are some failing unit tests it seems, do you mind fixing those:
|
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.
Tested and this does fix the bug, thanks again! Just few things left from my previous comment after that we can merge 🎉
4328e3c
to
860e88c
Compare
Seems like a flaky test. It's passing now... |
Do you mind just for now only including only your patch, so the last commit in this PR against release-2.0, we can do the rest of the 2.0 merges from master as not all are relevant for the release-2.0 branch. Hope that makes sense? Thanks! |
860e88c
to
0c4f95d
Compare
Signed-off-by: Joel Whittaker-Smith <jdws.dev@gmail.com>
0c4f95d
to
a112553
Compare
@lilic done but the flaky test is failing again, it's weird as the order shouldn't matter since we sort the strings... |
Seems like now the tests failed two times in a row, will rerun, if it passes will open an issue to look into it. |
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.
/lgtm
Thanks again!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jw-s, lilic The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@jimmyseto yes, this is expected. https://github.com/kubernetes/kube-state-metrics/releases/tag/v2.0.0-alpha let me know if its not clear from the changelog, this is the PR that introduces a flag to control this #1125 and issue #1047. Help in testing the new flag is always appreciated! @brancz to double-check as he helped that effort. |
thanks for the pointer, @lilic. i tried using the flag, but it doesn't seem to be working. or, perhaps, i'm not using it correctly. here's an example:
also, with the new flag, is it possible to use wildcards to get all labels for a given metric? |
@jimmyseto labels are prefixed with |
thanks @jw-s . that did the trick. forgot about the prefix. i do think it would be helpful to support wildcards. i can see scenarios in which users may just want to scrape all labels for a particular k8s resource, not knowing exactly what they are looking for. are there plans to add support for this? |
@jimmyseto sounds good, feel free to open an issue for it so we can discuss there! 🎉 Thanks! |
will do! thanks! |
created #1246 |
Signed-off-by: Joel Whittaker-Smith jdws.dev@gmail.com
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #1239