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] [pdatagen] Allow slices in the pcommon package #11474

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dmitryax
Copy link
Member

Currently, pdatagen doesn't allow defining slices in the common package, while all other types do allow it. This is needed for #11282

@dmitryax dmitryax requested a review from a team as a code owner October 16, 2024 22:52
Copy link

codecov bot commented Oct 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.14%. Comparing base (4dbbb90) to head (e973da4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #11474   +/-   ##
=======================================
  Coverage   92.14%   92.14%           
=======================================
  Files         433      433           
  Lines       20389    20389           
=======================================
  Hits        18787    18787           
  Misses       1238     1238           
  Partials      364      364           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines +79 to +81
func generateTestInstrumentationScope() InstrumentationScope {
return InstrumentationScope(internal.GenerateTestInstrumentationScope())
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not expected correct?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is expected to be able to remove https://github.com/open-telemetry/opentelemetry-collector/pull/11474/files#diff-a2f357985c40abe2729795f5dd99e3dae74e199973c49540be215dbd4026ea69L61-L66 and don't bring the same to the slices. Seems cleaner to me, but let me know if you think otherwise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants