Skip to content

Commit 056f301

Browse files
[chore] clarify reason for deprecation of event.name (#2983)
1 parent ef973b3 commit 056f301

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/registry/attributes/event.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Attributes for Events represented using Log Records.
99

1010
| Attribute | Type | Description | Examples | Stability |
1111
|---|---|---|---|---|
12-
| <a id="event-name" href="#event-name">`event.name`</a> | string | Identifies the class / type of event. | `browser.mouse.click`; `device.app.lifecycle` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by EventName top-level field on the LogRecord. |
12+
| <a id="event-name" href="#event-name">`event.name`</a> | string | Identifies the class / type of event. | `browser.mouse.click`; `device.app.lifecycle` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>The value of this attribute MUST now be set as the value of the EventName field on the LogRecord to indicate that the LogRecord represents an Event. |

model/event/deprecated/registry-deprecated.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ groups:
1111
deprecated:
1212
reason: uncategorized
1313
note: >
14-
Replaced by EventName top-level field on the LogRecord.
14+
The value of this attribute MUST now be set as the value of the EventName field on the LogRecord to indicate that the LogRecord represents an Event.
1515
brief: >
1616
Identifies the class / type of event.
1717
examples: ["browser.mouse.click", "device.app.lifecycle"]

0 commit comments

Comments
 (0)