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

[exporter] deprecate CreateSettings -> Settings #10335

Merged

Conversation

codeboten
Copy link
Contributor

@codeboten codeboten commented Jun 5, 2024

This deprecates CreateSettings in favour of Settings. NewNopCreateSettings is also being deprecated in favour of NewNopSettings

Part of #9428

Follows #10333

@codeboten codeboten changed the title [receiver] deprecate CreateSettings -> Settings [exporter] deprecate CreateSettings -> Settings Jun 5, 2024
Copy link

codecov bot commented Jun 5, 2024

Codecov Report

Attention: Patch coverage is 94.44444% with 2 lines in your changes missing coverage. Please review.

Project coverage is 92.56%. Comparing base (1e44a9c) to head (7d46608).

Files Patch % Lines
exporter/exportertest/nop_exporter.go 71.42% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10335      +/-   ##
==========================================
- Coverage   92.57%   92.56%   -0.02%     
==========================================
  Files         387      387              
  Lines       18256    18258       +2     
==========================================
  Hits        16900    16900              
- Misses       1010     1012       +2     
  Partials      346      346              

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

This deprecates CreateSettings in favour of Settings. NewNopCreateSettings is also being deprecated in favour of NewNopSettings

Part of open-telemetry#9428

Signed-off-by: Alex Boten <[email protected]>
@codeboten codeboten force-pushed the codeboten/create-settings-exporter branch from 77ad8bf to a7d60f8 Compare June 5, 2024 20:59
@codeboten codeboten marked this pull request as ready for review June 5, 2024 21:00
@codeboten codeboten requested review from a team and songy23 June 5, 2024 21:00
Copy link
Member

@songy23 songy23 left a comment

Choose a reason for hiding this comment

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

Signed-off-by: Alex Boten <[email protected]>
@codeboten codeboten merged commit f0c8787 into open-telemetry:main Jun 6, 2024
48 of 49 checks passed
@codeboten codeboten deleted the codeboten/create-settings-exporter branch June 6, 2024 15:03
@github-actions github-actions bot added this to the next release milestone Jun 6, 2024
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.

3 participants