Skip to content

Commit

Permalink
Use event.name in Event Data model (open-telemetry#4157)
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared authored Jul 24, 2024
1 parent 2903e64 commit 5122dee
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions specification/logs/event-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ logs to have a common format within that structure. When OpenTelemetry
instrumentation emits logs, those logs SHOULD be formatted as Events. All
semantic conventions defined for logs MUST be formatted as Events.

The Event format is as follows. All Events have a `name` attribute, and all
Events with the same `name` MUST conform to the same schema for both their
`Attributes` and their `Body`.
The Event format is as follows. All Events have a
[`event.name` attribute](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/general/events.md),
and all Events with the same `event.name` MUST conform to the same schema for
both their `Attributes` and their `Body`.

## Event API use cases

Expand Down

0 comments on commit 5122dee

Please sign in to comment.