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

Remove the InstrumentationLibrary to Scope translation, OTLP 0.19 no longer supports it. #5819

Merged
merged 4 commits into from
Aug 4, 2022

Conversation

bogdandrutu
Copy link
Member

@bogdandrutu bogdandrutu commented Aug 4, 2022

Kept a generic "Migrate[Logs|Metrics|Traces]" so that if needed in the future we will not forget to update any place.

Fixes #5818

Signed-off-by: Bogdan [email protected]

@bogdandrutu bogdandrutu requested review from a team and codeboten August 4, 2022 17:40
@bogdandrutu
Copy link
Member Author

Not sure if this should be a "breaking change". Probably to be safe we can say it is.

@codecov
Copy link

codecov bot commented Aug 4, 2022

Codecov Report

Merging #5819 (249d3ce) into main (869dad4) will decrease coverage by 0.03%.
The diff coverage is 89.47%.

@@            Coverage Diff             @@
##             main    #5819      +/-   ##
==========================================
- Coverage   91.74%   91.71%   -0.04%     
==========================================
  Files         191      191              
  Lines       11434    11392      -42     
==========================================
- Hits        10490    10448      -42     
  Misses        752      752              
  Partials      192      192              
Impacted Files Coverage Δ
pdata/plog/plogotlp/logs.go 49.01% <66.66%> (ø)
pdata/ptrace/ptraceotlp/traces.go 49.01% <66.66%> (ø)
pdata/internal/otlp/logs.go 100.00% <100.00%> (ø)
pdata/internal/otlp/metrics.go 100.00% <100.00%> (ø)
pdata/internal/otlp/traces.go 100.00% <100.00%> (ø)
pdata/plog/json.go 85.00% <100.00%> (ø)
pdata/pmetric/json.go 100.00% <100.00%> (ø)
pdata/pmetric/pmetricotlp/metrics.go 53.19% <100.00%> (ø)
pdata/ptrace/json.go 100.00% <100.00%> (ø)

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

@bogdandrutu bogdandrutu force-pushed the rmtranslation branch 2 times, most recently from 3eb5f78 to 7ecbe9f Compare August 4, 2022 18:07
@bogdandrutu bogdandrutu changed the title Remove the InstrumentationLibrary to Scope, OTLP 0.19 does not contain any of these Remove the InstrumentationLibrary to Scope translation, OTLP 0.19 no longer supports it. Aug 4, 2022
Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

I think the change itself is fine, one question i have is whether there should be a migration guide section somewhere, or at least an indicator of what OTLP protocols are supported by a collector that's easier to find than looking at the Makefile.

This would be to answer questions from users that may upgrade the collector to find that their data is no longer working because they're sending an outdated version of OTLP.

@bogdandrutu
Copy link
Member Author

@codeboten is that not the changelog? Why do we have the changelog then?

@codeboten
Copy link
Contributor

@codeboten is that not the changelog? Why do we have the changelog then?

I guess I was thinking something that is easier to parse ie. the table here: https://github.com/open-telemetry/opentelemetry-operator/#opentelemetry-operator-vs-kubernetes-vs-cert-manager

Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

With the new changelog entry i think this is ok.

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.

Remove deprecated InstrumentationLibrary
2 participants