-
Notifications
You must be signed in to change notification settings - Fork 64
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
"Instrumenting a library" is misleading (at least me) #70
Comments
Along this note, it does seem we need two different or maybe three sections.
we've had some questions come up which hints that the first point above could help others..
|
here are some notes about the questions asked on span naming the main concern is that the names are low cardinality (they don't repeat endlessly due to containing variables) on tagging, instrumentation usually have default tags already setup, like http.url these are documented here https://github.com/openzipkin/zipkin-api/blob/master/thrift/zipkinCore.thrift |
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)
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)
I think the title "Instrumenting a library" is misleading.
I refer to this page: http://zipkin.io/pages/instrumenting.html
I guess the meaning of the title is "Creating a new instrumenting library".
Background: I had the idea of tracing the internals of a library (single process, single thread, not RPC) ... I would call this "Instrumenting a library" :-)
The text was updated successfully, but these errors were encountered: