Skip to content

Commit

Permalink
Add event_name to log proto
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova committed Nov 19, 2024
1 parent 793e43e commit 293dcee
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

The full list of changes can be found in the compare view for the respective release at <https://github.com/open-telemetry/opentelemetry-proto/releases>.

### Added

- logs: Add top-level `event_name` field to log records instead of `event.name` attribute. [#TODO](https://github.com/open-telemetry/opentelemetry-proto/pull/TODO)

## 1.3.2 - 2024-06-28

### Changed
Expand Down
7 changes: 7 additions & 0 deletions opentelemetry/proto/logs/v1/logs.proto
Original file line number Diff line number Diff line change
Expand Up @@ -208,4 +208,11 @@ message LogRecord {
// - the field is not present,
// - the field contains an invalid value.
bytes span_id = 10;

// A globally unique identifier of event category/type among all events. All
// events with the same event_name MUST conform to the same schema for both their
// attributes and their body.
//
// Status: [Development]
string event_name = 11;

Check failure on line 217 in opentelemetry/proto/logs/v1/logs.proto

View workflow job for this annotation

GitHub Actions / breaking-change

Buf detected breaking change COMPILE

message LogRecord: fields observed_time_unix_nano and event_name both have the same tag 11
}

0 comments on commit 293dcee

Please sign in to comment.