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

[pdata] Deprecate [Metrics|Logs|Traces].MoveTo methods #7091

Merged
merged 1 commit into from
Feb 2, 2023

Conversation

dmitryax
Copy link
Member

@dmitryax dmitryax commented Feb 2, 2023

The methods don't provide any value and can be replaced with simple assignments.

This also unblocks #7088

@dmitryax dmitryax marked this pull request as ready for review February 2, 2023 01:18
@dmitryax dmitryax requested review from a team and codeboten February 2, 2023 01:18
@codecov
Copy link

codecov bot commented Feb 2, 2023

Codecov Report

Base: 89.37% // Head: 89.37% // No change to project coverage 👍

Coverage data is based on head (e24cce3) compared to base (c0a08e3).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7091   +/-   ##
=======================================
  Coverage   89.37%   89.37%           
=======================================
  Files         286      286           
  Lines       14020    14020           
=======================================
  Hits        12531    12531           
  Misses       1219     1219           
  Partials      270      270           
Impacted Files Coverage Δ
pdata/plog/logs.go 100.00% <ø> (ø)
pdata/pmetric/metrics.go 100.00% <ø> (ø)
pdata/ptrace/traces.go 100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@bogdandrutu

This comment was marked as resolved.

@bogdandrutu bogdandrutu merged commit c641c05 into open-telemetry:main Feb 2, 2023
@dmitryax dmitryax deleted the pdata-deprecate-moveto branch February 2, 2023 16:59
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