-
Notifications
You must be signed in to change notification settings - Fork 132
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
Top-level tags: "operation_name" and/or "component"? #75
Comments
Examples of potential
|
I still like (4) the most, at least for now... Mainly because instrumentation cost is the |
We talked about this at the OpenTracing hangout this past wednesday... @dkuebric should correct me if I'm misrepresenting anything, but we decided to go forward with (4) for now. |
I am +1 for (4) as well. |
Yes, late to the update but agreed this sounds like the way to go per discussion. I'll reflect this in the PR, which is now #82. @beberlei I noticed you submitted a more minimalist approach to this in #76. I'm thinking there's enough content to merit its own doc (started in #61, now #82) but we should definitely reference from |
Also: I think we are good to close this for now, feel free to reopen if I've preempted anything. |
Per #61 , there's a question about the recommendation for contents of the
operation_name
tag as well as importance/role/value of acomponent
tag. In order to close out other parts of that PR, I've opened this at @yurishkuro suggestion to continue the discussion.Recap:
The only "required" span tag currently is,
operation_name
, which is valuable and currently a cornerstone of many UI displays. However, it seems to miss a step in the semantic pyramid--the step that defines what exactly is doing the operating. There's certain things we are expecting we can provide automatically via traces, like hostname, which will help localize where work is being done.component
feels as though it ought to be one, though it's not one that I would expect most tracers to be able to fetch automatically as hostname. So if we think this is valuable, we would expect instrumentors to provide in the same way they provide op.Additionally,
operation_name
has been elevated to a special status; I think for a combination of historical and practical reasons. I'm fine with trying to keepoperation_name
as some sort of operation name, and adding a concept of component separately, but conceptually it feels clearer to have the broader-strokes component as our elevated attribute.At any rate, we will want to tighten on recommendations for
operation_name
.It seems as though there's 4 categories of option:
operation_name
and strongly suggest both it andcomponent
component
to equivalent (span.setComponentName
and inclusion in constructors)operation_name
withcomponent
and strongly suggestoperation_name
as a tagcomponent
as a tagMy vote is 2 or 3.
@bensigelman had expressed interest in pursuing 4 and a strong opposition to 1/3.
@yurishkuro had expressed interest in pursuing 4.
The text was updated successfully, but these errors were encountered: