-
Notifications
You must be signed in to change notification settings - Fork 894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BREAKING: Remove messaging.consumer.id
, make messaging.client_id
generic
#3336
Merged
carlosalberto
merged 8 commits into
open-telemetry:main
from
pyohannes:messaging_attributes_client_id
Apr 24, 2023
Merged
BREAKING: Remove messaging.consumer.id
, make messaging.client_id
generic
#3336
carlosalberto
merged 8 commits into
open-telemetry:main
from
pyohannes:messaging_attributes_client_id
Apr 24, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lmolkova
reviewed
Mar 23, 2023
kenfinnigan
reviewed
Mar 23, 2023
arminru
added
semconv:messaging
spec:trace
Related to the specification/trace directory
area:semantic-conventions
Related to semantic conventions
labels
Mar 28, 2023
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
Closed as inactive. Feel free to reopen if this PR is still being worked on. |
pyohannes
force-pushed
the
messaging_attributes_client_id
branch
from
April 13, 2023 19:36
521d14a
to
9ec400b
Compare
kenfinnigan
suggested changes
Apr 13, 2023
kenfinnigan
approved these changes
Apr 14, 2023
joaopgrassi
reviewed
Apr 20, 2023
joaopgrassi
approved these changes
Apr 20, 2023
Oberon00
approved these changes
Apr 21, 2023
Thanks, I think this should indeed solve #2015. |
lmolkova
approved these changes
Apr 21, 2023
carlosalberto
approved these changes
Apr 24, 2023
CHANGELOG entry, please ;) |
pyohannes
force-pushed
the
messaging_attributes_client_id
branch
from
April 24, 2023 16:43
cafb8a2
to
2c970cd
Compare
@carlosalberto Done. |
carlosalberto
pushed a commit
to carlosalberto/opentelemetry-specification
that referenced
this pull request
Oct 31, 2024
…generic (open-telemetry#3336) Fixes open-telemetry#2015 ## Changes Based on discussions in the messaging workgroup and in issue open-telemetry#2015, this PR proposes to remove `messaging.consumer.id`, and to replace both `messaging.kafka.client_id` and `messaging.rocketmq.client_id` with a generic `messaging.client_id`. `messaging.consumer.id` is defined to always be set to the `client_id` of the used messaging system, except for Kafka, where it was defined to be a combination of `messaging.kafka.client_id` and `messaging.kafka.consumer.group`, or just the latter if `messaging.kafka.client_id` is not available. With this definition, the semantics of `consumer.id` are different between messaging systems, and even different for different Kafka scenarios. The proposed `messaging.client_id` has consistent semantics ("an unique client id, when it is available"), and can be used instead of `messaging.consumer.id` in almost all cases. In addition to have consistent semantics, this also simplifies the semantic conventions, as instead of `messaging.consumer.id` `messaging.kafka.client_id` `messaging.rocketmq.client_id` there is now just: `messaging.client_id`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area:semantic-conventions
Related to semantic conventions
semconv:messaging
spec:trace
Related to the specification/trace directory
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 #2015
Changes
Based on discussions in the messaging workgroup and in issue #2015, this PR proposes to remove
messaging.consumer.id
, and to replace bothmessaging.kafka.client_id
andmessaging.rocketmq.client_id
with a genericmessaging.client_id
.messaging.consumer.id
is defined to always be set to theclient_id
of the used messaging system, except for Kafka, where it was defined to be a combination ofmessaging.kafka.client_id
andmessaging.kafka.consumer.group
, or just the latter ifmessaging.kafka.client_id
is not available. With this definition, the semantics ofconsumer.id
are different between messaging systems, and even different for different Kafka scenarios.The proposed
messaging.client_id
has consistent semantics ("an unique client id, when it is available"), and can be used instead ofmessaging.consumer.id
in almost all cases.In addition to have consistent semantics, this also simplifies the semantic conventions, as instead of
messaging.consumer.id
messaging.kafka.client_id
messaging.rocketmq.client_id
there is now just:
messaging.client_id
.