Skip to content

Commit

Permalink
Deprecate LogRecord.Name field (#357)
Browse files Browse the repository at this point in the history
The field is removed from the spec: open-telemetry/opentelemetry-specification#2271

I am deprecating it for now, to give some time to existing users to get rid
of it (most notably in the Collector).

This will be removed March 15, 2022 (after the Collector cleanup).
  • Loading branch information
tigrannajaryan authored Feb 14, 2022
1 parent 6a41aec commit cc4ed55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Full list of differences found in [this compare](https://github.com/open-telemet

### Removed

* Remove if no changes for this section before release.
* Deprecate LogRecord.Name field. (#357)

## 0.13.0 - 2022-02-10

Expand Down
4 changes: 3 additions & 1 deletion opentelemetry/proto/logs/v1/logs.proto
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ message LogRecord {
// Short event identifier that does not contain varying parts. Name describes
// what happened (e.g. "ProcessStarted"). Recommended to be no longer than 50
// characters. Not guaranteed to be unique in any way. [Optional].
string name = 4;
// This deprecated field is planned to be removed March 15, 2022. Receivers can
// ignore this field.
string name = 4 [deprecated = true];

// A value containing the body of the log record. Can be for example a human-readable
// string message (including multi-line) describing the event in a free form or it can
Expand Down

0 comments on commit cc4ed55

Please sign in to comment.