Skip to content

Commit

Permalink
process.executable.build_id: rename attribute
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Lehner <[email protected]>
  • Loading branch information
florianl committed Oct 28, 2024
1 parent b780f48 commit 6d2ff4b
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .chloggen/profiling-htlhash.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# 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: breaking

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

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Rename process.executable.build_id.profiling to process.executable.build_id.htlhash.

# 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: []

# (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: |
With https://github.com/open-telemetry/opentelemetry-specification/pull/4197 it
was decided to rename the attribute from process.executable.build_id.profiling to
process.executable.build_id.htlhash (Head-Tail-Length Hash).
6 changes: 6 additions & 0 deletions model/process/deprecated/registry-deprecated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ groups:
value: 'wait'
stability: experimental
stability: experimental
- id: process.executable.build_id.profiling
stability: experimental
type: string
deprecated: 'Replaced by `process.executable.build_id.htlhash`'
brief: >
"Deprecated, use `process.executable.build_id.htlhash` instead."
2 changes: 1 addition & 1 deletion model/process/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ groups:
brief: >
The Go build ID as retrieved by `go tool buildid <go executable>`.
examples: ['foh3mEXu7BLZjsN9pOwG/kATcXlYVCDEFouRMQed_/WwRFB1hPo9LBkekthSPG/x8hMC8emW2cCjXD0_1aY']
- id: process.executable.build_id.profiling
- id: process.executable.build_id.htlhash
stability: experimental
type: string
brief: >
Expand Down
6 changes: 6 additions & 0 deletions schema-next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ file_format: 1.1.0
schema_url: https://opentelemetry.io/schemas/next
versions:
next:
all:
changes:
# https://github.com/open-telemetry/semantic-conventions/pull/<TBD>
- rename_attributes:
attribute_map:
process.executable.build_id.profiling: process.executable.build_id.htlhash
1.27.0:
all:
changes:
Expand Down

0 comments on commit 6d2ff4b

Please sign in to comment.