-
Notifications
You must be signed in to change notification settings - Fork 5
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
rnd 2867 metrics #62
rnd 2867 metrics #62
Conversation
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.
Do existing tests pass?
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.
Nice work. Added a question about the test.
_ = resource.read() | ||
log_metric.assert_has_calls( | ||
[ | ||
call(column="foo_name", metric=Metric.COUNTS_PER_LABEL, value=8), |
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.
Why are there two of these?
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.
One for each label that it finds
They pass, and I've added a new test just for metrics! |
Implementing metrics logging through the Pandera API.
All of v4's metrics were migrated.
Migration scripts also implemented and tested locally.
All the user has to do is specify the desired metrics like this