-
Notifications
You must be signed in to change notification settings - Fork 884
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
Change all instrumentation names to io.opentelemetry.{libName}-{libVersion} #3411
Change all instrumentation names to io.opentelemetry.{libName}-{libVersion} #3411
Conversation
@@ -54,6 +54,6 @@ protected String dbOperation(Void connection, String operation, String ignored) | |||
|
|||
@Override | |||
protected String getInstrumentationName() { | |||
return "io.opentelemetry.javaagent.elasticsearch-rest-common"; | |||
return "io.opentelemetry.elasticsearch-rest-common"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have a few of those "common" tracers -- I'm hoping that once we migrate to the Instrumenter API everywhere those common modules will just contain shared extractor code, and each instrumentation module will construct their instrumenter separately and give it a separate name that'll contain a proper version.
private static final String INSTRUMENTATION_NAME = "io.opentelemetry.javaagent.jedis-1.4"; | ||
private static final String INSTRUMENTATION_NAME = "io.opentelemetry.lettuce-4.0"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it was good to go over all those names just to catch copy-paste mistakes like this one 😄
* instrumentation library so that during troubleshooting it's possible to pinpoint what tracer | ||
* produced problematic telemetry. | ||
* | ||
* <p>In this project we use a convention to encode the version of the instrument*ed* library into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
version -> base version (or similar)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Used "minimum supported" - it's a bit longer but also clearer than "base" version
Resolves #1436