-
Notifications
You must be signed in to change notification settings - Fork 24
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
Eliminate usage of removed OTLP LogRecord.Name field #61
Eliminate usage of removed OTLP LogRecord.Name field #61
Conversation
LogRecord.Name is no longer part of the OTLP data model and was deprecated open-telemetry/opentelemetry-proto#357 and deleted open-telemetry/opentelemetry-proto#373 from OTLP. It is now deprecated in the Collector codebase too: https://github.com/open-telemetry/opentelemetry-collector/blob/d2e5601b7045a3021009729ce539cb88373f3216/model/internal/pdata/generated_log.go#L644 We are planning to delete it from the Collector codebase, but first we need to remove the references from this codebase since it is a Collector dependency. Testing done: cd otel2influx && go test ./...
@jacobmarble can you please take a look. I think I cleaned it from the right places. Thank you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you Tigran
I'll take a look at the falling CI tests later, unless you beat me to it. ooo today. |
Thanks for merging @jacobmarble Please ping me when you make a new release here. I will update Otel Collector to use the new version. |
Hey @tigrannajaryan, Just so you know, @jacobmarble is on holiday so might take a little longer to respond :) Dom |
Thanks @domodwyer |
Hey @tigrannajaryan , I'm back from ooo, working on this now. |
@tigrannajaryan: v0.2.17 is tagged, with dependency updates to otel 0.48.0 and all deprecation warnings (per staticcheck v2021.1.2) resolved. |
Thanks. Collector updated to use v0.2.17: open-telemetry/opentelemetry-collector-contrib#9226 |
LogRecord.Name is no longer part of the OTLP data model and was deprecated
open-telemetry/opentelemetry-proto#357 and
deleted open-telemetry/opentelemetry-proto#373 from OTLP.
It is now deprecated in the Collector codebase too:
https://github.com/open-telemetry/opentelemetry-collector/blob/d2e5601b7045a3021009729ce539cb88373f3216/model/internal/pdata/generated_log.go#L644
We are planning to delete it from the Collector codebase, but first we need
to remove the references from this codebase since it is a Collector dependency.
Testing done: cd otel2influx && go test ./...