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

[service] use mdatagen for service metrics #10273

Conversation

codeboten
Copy link
Contributor

This reverts the reverts #10271 and adds a mechanism to skip adding a create settings method for the service package component test. Will need to figure out if servicetelemetry.TelemetrySettings should be renamed to fit w/ the other CreateSettings structs before removing this check.

@codeboten codeboten requested a review from a team as a code owner May 30, 2024 20:54
@codeboten codeboten added the Skip Changelog PRs that do not require a CHANGELOG.md entry label May 30, 2024
Copy link

codecov bot commented May 30, 2024

Codecov Report

Attention: Patch coverage is 91.26214% with 9 lines in your changes missing coverage. Please review.

Project coverage is 92.52%. Comparing base (0d6e6bf) to head (58a946a).
Report is 1 commits behind head on main.

Current head 58a946a differs from pull request most recent head 4f2acde

Please upload reports for the commit 4f2acde to get more accurate results.

Files Patch % Lines
service/internal/metadata/generated_telemetry.go 91.30% 7 Missing and 1 partial ⚠️
service/service.go 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10273      +/-   ##
==========================================
- Coverage   92.56%   92.52%   -0.04%     
==========================================
  Files         387      388       +1     
  Lines       18254    18297      +43     
==========================================
+ Hits        16896    16929      +33     
- Misses       1014     1022       +8     
- Partials      344      346       +2     

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

This reverts the reverts open-telemetry#10271 and adds a mechanism to skip adding a create settings method for the service package component test. Will need to figure out if servicetelemetry.TelemetrySettings should be renamed to fit w/ the other CreateSettings structs before removing this check.

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
@codeboten codeboten force-pushed the codeboten/revert-revert10bcef33e6d26104036ed2874cb179c4437abc98 branch from 8091e6c to 58a946a Compare June 7, 2024 22:26
ignore:
top:
# See https://github.com/census-instrumentation/opencensus-go/issues/1191 for more information.
- "go.opencensus.io/stats/view.(*worker).start"
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 because of ./internal/proctelemetry/config.go only, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

correct

@codeboten codeboten merged commit a2289fd into open-telemetry:main Jun 10, 2024
46 checks passed
@codeboten codeboten deleted the codeboten/revert-revert10bcef33e6d26104036ed2874cb179c4437abc98 branch June 10, 2024 16:04
@github-actions github-actions bot added this to the next release milestone Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants