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

[cmd/mdatagen] Update the scope name generation method #9693

Merged

Conversation

dmitryax
Copy link
Member

@dmitryax dmitryax commented Mar 5, 2024

Don't use hardcoded "go.opentelemetry.io/collector" prefix. Provide a way to specify the scope_name in metadata.yaml. If not provided, try to use the go package name.

Updates #9494

@dmitryax dmitryax requested a review from a team as a code owner March 5, 2024 01:05
@dmitryax dmitryax force-pushed the madatagen-require-scope-name branch 3 times, most recently from 5d7f323 to 875ec98 Compare March 5, 2024 01:15
Copy link

codecov bot commented Mar 5, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 90.90%. Comparing base (b75fe36) to head (9c4d092).

Files Patch % Lines
cmd/mdatagen/loader.go 64.28% 3 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9693      +/-   ##
==========================================
- Coverage   90.93%   90.90%   -0.04%     
==========================================
  Files         348      348              
  Lines       18379    18382       +3     
==========================================
- Hits        16713    16710       -3     
- Misses       1344     1348       +4     
- Partials      322      324       +2     

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

@dmitryax dmitryax force-pushed the madatagen-require-scope-name branch from 875ec98 to d03583d Compare March 5, 2024 19:48
@dmitryax dmitryax changed the title [cmd/mdatagen] Provide scope_name explicitly in metadata.yaml [cmd/mdatagen] Update the scope name generation method Mar 5, 2024
@dmitryax dmitryax force-pushed the madatagen-require-scope-name branch from d03583d to bc829a7 Compare March 5, 2024 19:51
Don't use hardcoded "go.opentelemetry.io/collector" prefix. Provide a way to specify the scope_name in metadat.yaml. If not provided, try to use the go package name.
@dmitryax dmitryax force-pushed the madatagen-require-scope-name branch from bc829a7 to 9c4d092 Compare March 5, 2024 20:51
@dmitryax dmitryax merged commit 6e61c9b into open-telemetry:main Mar 5, 2024
45 of 46 checks passed
@github-actions github-actions bot added this to the next release milestone Mar 5, 2024
@dmitryax dmitryax deleted the madatagen-require-scope-name branch March 5, 2024 21:10
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.

None yet

3 participants