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

[chore][processor/transform]: use pmetrictest library for comparing metrics in unit tests #34338

Merged
merged 8 commits into from
Aug 6, 2024

Conversation

odubajDT
Copy link
Contributor

@odubajDT odubajDT commented Jul 31, 2024

Description:

Link to tracking Issue: #34297

@github-actions github-actions bot added the processor/transform Transform processor label Jul 31, 2024
@odubajDT odubajDT force-pushed the test-aggregate-fix branch from e18eba1 to 9e3a1f8 Compare July 31, 2024 06:44
@odubajDT odubajDT changed the title [chore]: use reflect.DeepEqual() for map comparison in tests [chore]: order map keys containing datapoints before merging for aggregation Jul 31, 2024
@odubajDT odubajDT marked this pull request as ready for review July 31, 2024 07:17
@odubajDT odubajDT requested a review from a team July 31, 2024 07:17
@odubajDT odubajDT force-pushed the test-aggregate-fix branch from fc08c1a to 097a482 Compare August 1, 2024 07:37
@odubajDT odubajDT changed the title [chore]: order map keys containing datapoints before merging for aggregation [chore]: introduce IgnoreDatapointsOrder into pmetrictest.CompareMetricsOption Aug 1, 2024
Signed-off-by: odubajDT <[email protected]>
@odubajDT odubajDT force-pushed the test-aggregate-fix branch from 4df9dc1 to 95757f0 Compare August 1, 2024 07:58
Signed-off-by: odubajDT <[email protected]>
Signed-off-by: odubajDT <[email protected]>
Signed-off-by: odubajDT <[email protected]>
@odubajDT odubajDT changed the title [chore]: introduce IgnoreDatapointsOrder into pmetrictest.CompareMetricsOption [chore][pkg/pdatatest]: introduce IgnoreDatapointsOrder into pmetrictest.CompareMetricsOption Aug 1, 2024
pkg/pdatatest/pmetrictest/options.go Outdated Show resolved Hide resolved
pkg/pdatatest/pmetrictest/options.go Outdated Show resolved Hide resolved
@odubajDT odubajDT changed the title [chore][pkg/pdatatest]: introduce IgnoreDatapointsOrder into pmetrictest.CompareMetricsOption [pkg/pdatatest]: introduce IgnoreDatapointsOrder into pmetrictest.CompareMetricsOption Aug 2, 2024
Signed-off-by: odubajDT <[email protected]>
@odubajDT odubajDT changed the title [pkg/pdatatest]: introduce IgnoreDatapointsOrder into pmetrictest.CompareMetricsOption [chore][processor/transform]: use pmetrictest library for comparing metrics in unit tests Aug 2, 2024
@odubajDT
Copy link
Contributor Author

odubajDT commented Aug 6, 2024

@TylerHelmuth can you have a look please ?

@evan-bradley
Copy link
Contributor

@TylerHelmuth This one is pretty minor, so I'm going to merge by ~12:00 EDT unless you have any feedback.

@evan-bradley evan-bradley merged commit e38c3bd into open-telemetry:main Aug 6, 2024
154 checks passed
@github-actions github-actions bot added this to the next release milestone Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants