Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .chloggen/2597.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
change_type: enhancement
component: event
note: "Revive `event.name` attribute for use by non-OTLP exporters and logging libraries."
issues: [2597]
subtext: |
The `event.name` attribute is now undeprecated and can be used by:
- Non-OTLP exporters to emit the `EventName`
- Applications using existing logging libraries to add event name information that can be used to set the `EventName` field by Collector or SDK components
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ body:
- area:elasticsearch
- area:enduser
- area:error
- area:event
- area:exception
- area:faas
- area:feature-flag
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/change_proposal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ body:
- area:elasticsearch
- area:enduser
- area:error
- area:event
- area:exception
- area:faas
- area:feature-flag
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/new-conventions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ body:
- area:elasticsearch
- area:enduser
- area:error
- area:event
- area:exception
- area:faas
- area:feature-flag
Expand Down
4 changes: 3 additions & 1 deletion docs/registry/attributes/event.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ Attributes for Events represented using Log Records.

| Attribute | Type | Description | Examples | Stability |
|---|---|---|---|---|
| <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. |
| <a id="event-name" href="#event-name">`event.name`</a> | string | Identifies the class / type of event. [1] | `browser.mouse.click`; `device.app.lifecycle` | ![Development](https://img.shields.io/badge/-development-blue) |

**[1] `event.name`:** This attribute SHOULD be used by non-OTLP exporters when destination does not support `EventName` or equivalent field. This attribute MAY be used by applications using existing logging libraries so that it can be used to set the `EventName` field by Collector or SDK components.
17 changes: 0 additions & 17 deletions model/event/deprecated/registry-deprecated.yaml

This file was deleted.

19 changes: 19 additions & 0 deletions model/event/registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
groups:
- id: registry.event
type: attribute_group
display_name: Event Attributes
brief: >
Attributes for Events represented using Log Records.
attributes:
- id: event.name
type: string
stability: development
brief: >
Identifies the class / type of event.
note: >
This attribute SHOULD be used by non-OTLP exporters
when destination does not support `EventName` or equivalent field.
This attribute MAY be used by applications using existing logging
libraries so that it can be used to set the `EventName` field by
Collector or SDK components.
examples: ["browser.mouse.click", "device.app.lifecycle"]
Loading