Skip to content

rnd 2867 metrics#62

Merged
arturk-vortexa merged 5 commits into
v5from
rnd-2867-metrics
Aug 7, 2023
Merged

rnd 2867 metrics#62
arturk-vortexa merged 5 commits into
v5from
rnd-2867-metrics

Conversation

@arturk-vortexa
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

Comment thread tests/test_metrics.py
_ = resource.read()
log_metric.assert_has_calls(
[
call(column="foo_name", metric=Metric.COUNTS_PER_LABEL, value=8),
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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