From 9d5f447c4c1c927b5b4083177311443d5b70eb3f Mon Sep 17 00:00:00 2001 From: Robert Pajak Date: Tue, 14 Oct 2025 20:24:42 +0200 Subject: [PATCH] Revert "Revive `event.name` attribute (#2715)" This reverts commit ba43fe4760732073f42a25e460757fb8cb10c58e. --- .chloggen/2597.yaml | 8 -------- .github/ISSUE_TEMPLATE/bug_report.yaml | 1 - .github/ISSUE_TEMPLATE/change_proposal.yaml | 1 - .github/ISSUE_TEMPLATE/new-conventions.yaml | 1 - docs/registry/attributes/event.md | 4 +--- .../event/deprecated/registry-deprecated.yaml | 17 +++++++++++++++++ model/event/registry.yaml | 19 ------------------- 7 files changed, 18 insertions(+), 33 deletions(-) delete mode 100644 .chloggen/2597.yaml create mode 100644 model/event/deprecated/registry-deprecated.yaml delete mode 100644 model/event/registry.yaml diff --git a/.chloggen/2597.yaml b/.chloggen/2597.yaml deleted file mode 100644 index 3f01b2fd9a..0000000000 --- a/.chloggen/2597.yaml +++ /dev/null @@ -1,8 +0,0 @@ -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 diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 761367b8c7..a187ceb14d 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -49,7 +49,6 @@ body: - area:elasticsearch - area:enduser - area:error - - area:event - area:exception - area:faas - area:feature-flag diff --git a/.github/ISSUE_TEMPLATE/change_proposal.yaml b/.github/ISSUE_TEMPLATE/change_proposal.yaml index 7ab9b0e6d8..7cbe913ab9 100644 --- a/.github/ISSUE_TEMPLATE/change_proposal.yaml +++ b/.github/ISSUE_TEMPLATE/change_proposal.yaml @@ -41,7 +41,6 @@ body: - area:elasticsearch - area:enduser - area:error - - area:event - area:exception - area:faas - area:feature-flag diff --git a/.github/ISSUE_TEMPLATE/new-conventions.yaml b/.github/ISSUE_TEMPLATE/new-conventions.yaml index db01509529..8955a43f71 100644 --- a/.github/ISSUE_TEMPLATE/new-conventions.yaml +++ b/.github/ISSUE_TEMPLATE/new-conventions.yaml @@ -52,7 +52,6 @@ body: - area:elasticsearch - area:enduser - area:error - - area:event - area:exception - area:faas - area:feature-flag diff --git a/docs/registry/attributes/event.md b/docs/registry/attributes/event.md index 216c9e699a..41eac0c4ee 100644 --- a/docs/registry/attributes/event.md +++ b/docs/registry/attributes/event.md @@ -9,6 +9,4 @@ Attributes for Events represented using Log Records. | Attribute | Type | Description | Examples | Stability | |---|---|---|---|---| -| `event.name` | 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. +| `event.name` | string | Identifies the class / type of event. | `browser.mouse.click`; `device.app.lifecycle` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)
Replaced by EventName top-level field on the LogRecord. | diff --git a/model/event/deprecated/registry-deprecated.yaml b/model/event/deprecated/registry-deprecated.yaml new file mode 100644 index 0000000000..701f3ba0a6 --- /dev/null +++ b/model/event/deprecated/registry-deprecated.yaml @@ -0,0 +1,17 @@ +groups: + - id: registry.event.deprecated + type: attribute_group + display_name: Event Attributes + brief: > + Attributes for Events represented using Log Records. + attributes: + - id: event.name + type: string + stability: development + deprecated: + reason: uncategorized + note: > + Replaced by EventName top-level field on the LogRecord. + brief: > + Identifies the class / type of event. + examples: ["browser.mouse.click", "device.app.lifecycle"] diff --git a/model/event/registry.yaml b/model/event/registry.yaml deleted file mode 100644 index 02acfc1b22..0000000000 --- a/model/event/registry.yaml +++ /dev/null @@ -1,19 +0,0 @@ -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"]