From 6d2ff4b3669d950f24fb951a7371a838ddfb696f Mon Sep 17 00:00:00 2001 From: Florian Lehner Date: Mon, 28 Oct 2024 08:29:41 +0100 Subject: [PATCH] process.executable.build_id: rename attribute Signed-off-by: Florian Lehner --- .chloggen/profiling-htlhash.yaml | 25 +++++++++++++++++++ .../deprecated/registry-deprecated.yaml | 6 +++++ model/process/registry.yaml | 2 +- schema-next.yaml | 6 +++++ 4 files changed, 38 insertions(+), 1 deletion(-) create mode 100755 .chloggen/profiling-htlhash.yaml diff --git a/.chloggen/profiling-htlhash.yaml b/.chloggen/profiling-htlhash.yaml new file mode 100755 index 0000000000..5764bab528 --- /dev/null +++ b/.chloggen/profiling-htlhash.yaml @@ -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). diff --git a/model/process/deprecated/registry-deprecated.yaml b/model/process/deprecated/registry-deprecated.yaml index 7941674529..ffeb9f841c 100644 --- a/model/process/deprecated/registry-deprecated.yaml +++ b/model/process/deprecated/registry-deprecated.yaml @@ -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." diff --git a/model/process/registry.yaml b/model/process/registry.yaml index 7b549d7bf7..d2df832b28 100644 --- a/model/process/registry.yaml +++ b/model/process/registry.yaml @@ -53,7 +53,7 @@ groups: brief: > The Go build ID as retrieved by `go tool buildid `. examples: ['foh3mEXu7BLZjsN9pOwG/kATcXlYVCDEFouRMQed_/WwRFB1hPo9LBkekthSPG/x8hMC8emW2cCjXD0_1aY'] - - id: process.executable.build_id.profiling + - id: process.executable.build_id.htlhash stability: experimental type: string brief: > diff --git a/schema-next.yaml b/schema-next.yaml index f16863d7df..e63e24fd1a 100644 --- a/schema-next.yaml +++ b/schema-next.yaml @@ -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/ + - rename_attributes: + attribute_map: + process.executable.build_id.profiling: process.executable.build_id.htlhash 1.27.0: all: changes: