Skip to content

Commit

Permalink
chore: Remove support for the event fields referencing/inheriting d…
Browse files Browse the repository at this point in the history
…efinitions from global attributes. (#1340)
  • Loading branch information
MSNev authored and ezimuel committed Aug 20, 2024
1 parent 03b67bf commit 93d2cbe
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
22 changes: 22 additions & 0 deletions .chloggen/remove_body_field_ref.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Use this changelog template to create an entry for release notes.
#
# If your change doesn't affect end users you should instead start
# your pull request title with [chore] or use the "Skip Changelog" label.

# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: deprecation

# The name of the area of concern in the attributes-registry, (e.g. http, cloud, db)
component: event

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Remove support for the event `fields` supporting referencing / inheriting fields from global attributes.

# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
# The values here must be integers.
issues: [1341]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:
3 changes: 0 additions & 3 deletions docs/general/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,6 @@ Recommendations on using attributes vs. body fields:
* The _fields_ are unique to the named event (`event.name`) and different events
may use the same _field_ name to represent different data, due to the unique
nature of the event.
* The _fields_ MAY reference / inherit details from the attribute registry
attributes and provide additional details specific to the event, including
providing an _alias_ (shorter) name for the attribute.

## External event compatibility

Expand Down

0 comments on commit 93d2cbe

Please sign in to comment.