-
Notifications
You must be signed in to change notification settings - Fork 893
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
Consider impact of ECS attribute alignment on the messaging semantic convention stability effort #3196
Consider impact of ECS attribute alignment on the messaging semantic convention stability effort #3196
Comments
Here're the changes that would come with ECS alignment:
Options:
|
does proposal (2) move to a common attribute for both source/destination, e.g.
is having a common attribute for both beneficial or problematic? (and to throw another word into the salad, if I understand, maybe |
I remember we discussed cases where having separate names for Before going too deep into this discussion, we need to clarify whether we apply the ECS design principles of field reuse to OTel semantic conventions too. We also could say |
I agree with @pyohannes , Also, given ECS does not specify messaging fields, should they be looking into adapting and using what OTel has? |
From a gut feeling I would agree, but is "source" actually commonly used? Actually I like the word "channel" that @trask coined here. |
Based on experience adopting source/destination in Azure SDK messaging SDKs and in Python contrib repos (open-telemetry/opentelemetry-python-contrib#1746) having two different names for the same attribute is hardish to implement:
I don't see a benefit in having two separate namespaces to describe the same thing, but see a lot of minor problems and complications. The only problem it solves is a (presumably) quite rare case when original destination and source are both available on the consumer (and different). Can we solve this case in a different way without making the general-case experience worse? E.g. we can add Back to ECS alignment: When we discussed source/destination asymmetry we did it partially because there was the same one for net/host on HTTP/gRPC, but with ECS alignment it would go away - #3402.
So combined with arguments against using different terms for messaging queue/topic names, it would be great to pick a different name that would not be confusing or conflicting with ECS. Consulting with bing chat we came to the following list of terms:
I'd like to bring it up and discuss at tomorrow's messaging SIG meeting. |
@lmolkova So, if I got it right, the idea with aligning with ECS would be that we drop the distinction between "destination" and "source" and group everything into the same thing? With your points above about being hard to identify in instrumentation what is a "source" vs what is a "destination" is having one help with anything? How users visualizing things will be able to distinguish them? |
Not sure what you mean here, can you expand on this? In general, I think combining the span kind, the messaging.operation (if set) will usually tell you if something is put into or taken from a destination. Note that the old OTel conventions also only used "destination". |
Discussed in today's workgroup meeting:
|
I seem to remember during our sig meetings that we discovered a use for |
What are you trying to achieve?
Make sure we are considering the impact of open-telemetry/oteps#222 prior to marking the HTTP semantic conventions stable.
The messaging semantic conventions currently specifies attributes in the
messaging
namespace, and references attributes from thenet
namespace.Arguments from the
net
namespace are currently re-evaluated by the HTTP semantic convention workgroup, and decisions made there should be consistently applied for messaging too. Also, in line with decisions taken there, attributes in themessaging
namespace should be re-evaluated regarding alignment with ECS.Additional context.
See the similar issue for HTTP: #3163
The text was updated successfully, but these errors were encountered: