-
Notifications
You must be signed in to change notification settings - Fork 1.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
testutil: Add ScrapeAndCompare #1043
Conversation
hey @bwplotka let me know what you think about this if this is okay, could you please approve it's workflows? thanks |
d13b534
to
a76f8c8
Compare
Signed-off-by: sazary <[email protected]>
Signed-off-by: sazary <[email protected]>
a76f8c8
to
86f0b14
Compare
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!
Anything to add @bwplotka ?
@sazary Is it possible for you to rebase and fix conflicts? |
Signed-off-by: Kemal Akkoyun <[email protected]>
@sazary I've fixed the conflicts for you ;) It's good to merge now. |
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 a lot!
As discussed in #993 by @bwplotka, it would be nice to have a utility function that scrapes an exporter and compares it to a set of expected values.
I've mostly copied the approach used in kubernetes/kubernetes#108277 and refactored some minor functions in the
testutil
package.Signed-off-by: sazary [email protected]