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 funcs working with InternalRep #4957

Merged
merged 2 commits into from
Mar 8, 2022

Conversation

bogdandrutu
Copy link
Member

@bogdandrutu bogdandrutu commented Mar 4, 2022

This PR tries to respect the rules 100%, but the need to keep the deprecated public funcs is unclear since they should not/ cannot be used externally.

Updates: #4706

Issue will be fixed when removing the deprecated funcs.

Signed-off-by: Bogdan Drutu [email protected]

@bogdandrutu bogdandrutu requested review from a team and mx-psi March 4, 2022 17:50
@codecov
Copy link

codecov bot commented Mar 4, 2022

Codecov Report

Merging #4957 (fa8397c) into main (f980c9e) will decrease coverage by 0.07%.
The diff coverage is 75.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4957      +/-   ##
==========================================
- Coverage   90.99%   90.92%   -0.08%     
==========================================
  Files         178      181       +3     
  Lines       10632    10632              
==========================================
- Hits         9675     9667       -8     
- Misses        739      748       +9     
+ Partials      218      217       -1     
Impacted Files Coverage Δ
model/internal/pdata/logs.go 88.00% <0.00%> (-8.30%) ⬇️
model/internal/pdata/metrics.go 95.74% <0.00%> (-2.18%) ⬇️
model/internal/pdata/traces.go 84.00% <0.00%> (-8.60%) ⬇️
model/pdata/logs_alias.go 0.00% <0.00%> (ø)
model/pdata/metrics_alias.go 0.00% <0.00%> (ø)
model/pdata/traces_alias.go 0.00% <0.00%> (ø)
model/internal/pdata/otlp_wrapper.go 100.00% <100.00%> (ø)
model/otlp/json_marshaler.go 100.00% <100.00%> (ø)
model/otlp/json_unmarshaler.go 76.92% <100.00%> (ø)
model/otlp/pb_marshaler.go 100.00% <100.00%> (ø)
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f980c9e...fa8397c. Read the comment docs.

This PR tries to respect the rules 100%, but the need to keep the deprecated public funcs is unclear since they should not/ cannot be used externally.

Signed-off-by: Bogdan Drutu <[email protected]>
Copy link
Member

@dmitryax dmitryax left a comment

Choose a reason for hiding this comment

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

LGTM

@codeboten codeboten merged commit cf22d5c into open-telemetry:main Mar 8, 2022
Nicholaswang pushed a commit to Nicholaswang/opentelemetry-collector that referenced this pull request Jun 7, 2022
This PR tries to respect the rules 100%, but the need to keep the deprecated public funcs is unclear since they should not/ cannot be used externally.

Signed-off-by: Bogdan Drutu <[email protected]>

Co-authored-by: Alex Boten <[email protected]>
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.

4 participants