-
Notifications
You must be signed in to change notification settings - Fork 1.6k
The outcome
attribute in Pipeline Component Telemetry RFC isn't scoped
#12916
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
Comments
outcome
attribute in Pipeline Component Telemetry RFC isn't scoped
I wouldn't interpret these recommendations as saying that attributes should be globally unambiguous. They only state that they should be "unambiguous", and to use namespaces "whenever it makes sense", which to me implies that they should be unambiguous in context. Because component attributes like However,
This is only my opinion, and I don't have strong objections to modifying the attribute name besides the work it implies. If the overall consensus is that the recommendation should be interpreted as you say, I have no issues with making the attribute name more specific. If we go that way however, I think we will want to clarify our guidelines, and modify |
I'm in favor of using a more specific name. There might be a way to justify avoiding it but I don't see it as an important enough distinction to argue against the general trend that the semantic conventions are encouraging.
What do we think of Considering a few examples (Capitalization is for emphasis only)
|
(I think |
|
PR to implement this decision: #12951 |
The
outcome
attribute is not scoped as other attributes for the internal collector metrics. According to https://opentelemetry.io/docs/specs/semconv/general/naming/#general-naming-considerations all the attribute name should be globally unambiguous. This attribute cannot be added to the global attributes registry in its current form.I haven't found any discussion related to picking up this attribute name. If there is a reason to go with the exception, this issue can be closed. Otherwise, we could rename it to something like
otelcol.component.consume.outcome
while the new metrics aren't released yet.cc @djaglowski @jade-guiton-dd
The text was updated successfully, but these errors were encountered: