Skip to content
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

Merged
merged 5 commits into from
Aug 7, 2023
Merged

rnd 2867 metrics #62

merged 5 commits into from
Aug 7, 2023

Conversation

arturk-vortexa
Copy link
Contributor

@arturk-vortexa arturk-vortexa commented Aug 4, 2023

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

image

@arturk-vortexa arturk-vortexa changed the base branch from master to v5 August 4, 2023 12:56
@arturk-vortexa arturk-vortexa requested a review from joloppo August 4, 2023 12:56
@arturk-vortexa arturk-vortexa marked this pull request as ready for review August 4, 2023 12:59
Copy link
Collaborator

@Christos-Hadjinikolis Christos-Hadjinikolis left a 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?

Copy link
Contributor

@joloppo joloppo left a 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),
Copy link
Contributor

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?

Copy link
Contributor Author

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

@arturk-vortexa
Copy link
Contributor Author

Do existing tests pass?

They pass, and I've added a new test just for metrics!

@arturk-vortexa arturk-vortexa added the echoes/effort: M Medium effort changes by the team's standards (default) label Aug 7, 2023
@arturk-vortexa arturk-vortexa merged commit 8c44654 into v5 Aug 7, 2023
@arturk-vortexa arturk-vortexa deleted the rnd-2867-metrics branch August 7, 2023 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes/effort: M Medium effort changes by the team's standards (default)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants