-
Notifications
You must be signed in to change notification settings - Fork 846
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
stabilise spanNames #12487
base: main
Are you sure you want to change the base?
stabilise spanNames #12487
Conversation
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.
It looks good! But I am curious about if there are any other documents or discussions to support this migration apart from quarkusio/quarkus#41521 (comment)? Because I am not sure whether other classes in instrumentation-api-incubator
exist similar problem. @trask
package io.opentelemetry.instrumentation.api.incubator.semconv.util; | ||
package io.opentelemetry.instrumentation.api.semconv.util; |
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.
let's keep the old class for a few releases (maybe until 3.0), and mark it deprecated, to give people an easy path forward
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.
done
import java.util.Map; | ||
import java.util.concurrent.ConcurrentHashMap; | ||
|
||
@Deprecated |
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.
let's include a javadoc with a link to the new stable API
resolve issue
move
SpanNames
frominstrumentation-api-incubator
toinstrumentation-api