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 deprecated LogRecord.Name field #373

Merged
merged 1 commit into from
Mar 28, 2022

Conversation

tigrannajaryan
Copy link
Member

The field is already deprecated and was on notice to be removed.
I removed all usages of the field from the Collector codebase.

The field is already deprecated and was on notice to be removed.
I removed all usages of the field from the Collector codebase.
@tigrannajaryan tigrannajaryan requested review from a team March 23, 2022 16:52
@tigrannajaryan
Copy link
Member Author

@open-telemetry/collector-approvers @open-telemetry/collector-contrib-approvers FYI.

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

@tigrannajaryan
Copy link
Member Author

@open-telemetry/specs-approvers please review. I think I need an approval from specs-approvers to be able to merge.

@bogdandrutu bogdandrutu merged commit 4abbb78 into open-telemetry:main Mar 28, 2022
@tigrannajaryan tigrannajaryan deleted the delete-logger-name branch March 28, 2022 18:06
tigrannajaryan added a commit to tigrannajaryan/influxdb-observability that referenced this pull request Apr 1, 2022
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.
tigrannajaryan added a commit to tigrannajaryan/influxdb-observability that referenced this pull request Apr 1, 2022
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 ./...
axw added a commit to axw/apm-server that referenced this pull request Aug 1, 2022
Adjust code to opentelemetry-collector changes

Mostly just adjusting to API changes, but there are
some functional changes related to Jaeger span events,
and OTLP logs.

open-telemetry/opentelemetry-collector-contrib#10273
uncovered an issue where we were recording the "event" tag
as a label, when we should have been recording it as the
"message" field in some circumstances.

open-telemetry/opentelemetry-proto#373 removed
the deprecated LogRecord.Name field. There is no replacement, hence we
no longer record `event.action`.
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.

10 participants