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][connector/routing] Refactor metric test examples into code #36149

Merged
merged 1 commit into from
Nov 3, 2024

Conversation

djaglowski
Copy link
Member

This PR condenses code for testing metrics. Initially, the test suite was designed to accommodate any arbitrary inputs and outputs, but at this point it seems clear we can validate the necessary functionality much more concisely. To that end, this PR adds a simple pmetricutiltest package which replaces thousands of lines of example files. This same pattern should work for traces and logs as well.

@github-actions github-actions bot requested review from jpkrohling and mwear November 2, 2024 14:46
@djaglowski djaglowski marked this pull request as ready for review November 2, 2024 15:08
@djaglowski djaglowski requested a review from a team as a code owner November 2, 2024 15:08
@djaglowski djaglowski merged commit 8dd2b7b into open-telemetry:main Nov 3, 2024
158 checks passed
@github-actions github-actions bot added this to the next release milestone Nov 3, 2024
@djaglowski djaglowski deleted the routing-pdatagen branch November 3, 2024 15:20
sbylica-splunk pushed a commit to sbylica-splunk/opentelemetry-collector-contrib that referenced this pull request Dec 17, 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.

2 participants