messaging: add messaging_latest_experimental opt-in value #3173
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #2928
Changes
Adds
messaging_latest_experimentalas a possible value toSEMCONV_STABILITY_OPT_INfor instrumentations that want to update to the latest semconv without breaking end-users while messaging semconv is still in-development.This essentially copies the text from the GenAI semantic conventions, but adds additional notes on precedence, where
messaging_latest_experimentalranks highest. I suppose this could technically also be used in the future to allow for enabling new experimental attributes through a common mechanism after the spec becomes stable.There are a few open questions though:
Q1: given that the messaging semconv is not stable yet, nobody can implement a compliant
messagingandmessaging/dupyet: should we reduce the text to just includemessaging_latest_experimentallike we do in the GenAI semconv?Q2: should I copy the changes to each file in
docs/messaging?Merge requirement checklist
[chore]