-
Notifications
You must be signed in to change notification settings - Fork 171
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
zipkin-js span name customizer #96
Comments
It's not possible to change, because it's following the B 53 tracing spec (more or less). What you can do is add custom binary annotations to the span, then you can add whatever you want. The UI could be improved to make it easier to show custom annotations, I guess... |
Thank you for your answer. |
Default span names are good choices as they are bounded. However, users may want to change these to other bounded choices (ex names that don't include variables). This shows how to accomplish this. Note: it is quite common for custom code to get naming wrong, by using high cardinality names such as specific http paths. This is one reason why defaults are limited, as tags/binary annotations can be used to add more specific lookup criteria without degrading the UI. See #96 See openzipkin/openzipkin.github.io#70 (comment)
#97 should explain more
|
Default span names are good choices as they are bounded. However, users may want to change these to other bounded choices (ex names that don't include variables). This shows how to accomplish this. Note: it is quite common for custom code to get naming wrong, by using high cardinality names such as specific http paths. This is one reason why defaults are limited, as tags/binary annotations can be used to add more specific lookup criteria without degrading the UI. See #96 See openzipkin/openzipkin.github.io#70 (comment)
Hello,
Not sure if I missed something but I think there is no possibility to customize the span name in zipkin-js.
For example, in the previous screenshot, I would like to show something else than "get" for the first calls (js), rest of the app is polyglot but I managed to put what I wanted to name the spans.
Did I miss something ?
Thanks in advance
The text was updated successfully, but these errors were encountered: