Skip to content

Commit 1896e09

Browse files
committed
messaging: add messaging_latest_experimental opt-in value
1 parent 42943d7 commit 1896e09

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Use this changelog template to create an entry for release notes.
2+
#
3+
# If your change doesn't affect end users you should instead start
4+
# your pull request title with [chore] or use the "Skip Changelog" label.
5+
6+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
7+
change_type: "enhancement"
8+
9+
# The name of the area of concern in the attributes-registry, (e.g. http, cloud, db)
10+
component: "messaging"
11+
12+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
13+
note: "Add messaging_latest_experimental feature flag to enable experimental messaging conventions"
14+
15+
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
16+
# The values here must be integers.
17+
issues: [2928]
18+
19+
# (Optional) One or more lines of additional information to render under the primary note.
20+
# These lines will be padded with 2 spaces and then inserted directly into the document.
21+
# Use pipe (|) for multiline entries.
22+
subtext:

docs/messaging/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,17 @@ This document defines semantic conventions for messaging systems spans, metrics
2424
> * `messaging` - emit the new, stable messaging conventions,
2525
> and stop emitting the old experimental messaging conventions
2626
> that the instrumentation emitted previously.
27+
> * `messaging_latest_experimental` - emit the latest experimental version of
28+
Messaging semantic conventions (supported by the instrumentation) and do not emit the
29+
old one (v1.24.0 or prior).
2730
> * `messaging/dup` - emit both the old and the stable messaging conventions,
2831
> allowing for a seamless transition.
2932
> * The default behavior (in the absence of one of these values) is to continue
3033
> emitting whatever version of the old experimental messaging conventions
3134
> the instrumentation was emitting previously.
32-
> * Note: `messaging/dup` has higher precedence than `messaging` in case both values are present
35+
> * Notes:
36+
> * `messaging/dup` has higher precedence than `messaging` in case both values are present
37+
> * `messaging_latest_experimental` has higher precedence than both `messaging/dup` and `messaging`
3338
> * SHOULD maintain (security patching at a minimum) the existing major version
3439
> for at least six months after it starts emitting both sets of conventions.
3540
> * SHOULD drop the environment variable in the next major version.

0 commit comments

Comments
 (0)