-
Notifications
You must be signed in to change notification settings - Fork 130
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
Update semconv dependency version #1585
Update semconv dependency version #1585
Conversation
f84e678
to
05f5fbe
Compare
import static io.opentelemetry.semconv.trace.attributes.SemanticAttributes.RPC_METHOD; | ||
import static io.opentelemetry.semconv.trace.attributes.SemanticAttributes.RPC_SERVICE; | ||
import static io.opentelemetry.semconv.ServiceAttributes.SERVICE_NAME; | ||
import static io.opentelemetry.semconv.incubating.DbIncubatingAttributes.DB_OPERATION; |
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.
Is using incubating attributes here ok?
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 may be able to revise our guidance about inlining incubating attributes now that we are planning to keep them around @jack-berg?
it's definitely nice to not inline them, since then we get the deprecation warnings and know when we need to consider making semconv updates
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.
@laurit I think it's a good question, but I'd suggest it's ok to merge this PR as-is since it's not introducing any new problems
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 think incubating attributes should be fine.
import static io.opentelemetry.semconv.trace.attributes.SemanticAttributes.RPC_METHOD; | ||
import static io.opentelemetry.semconv.trace.attributes.SemanticAttributes.RPC_SERVICE; | ||
import static io.opentelemetry.semconv.ServiceAttributes.SERVICE_NAME; | ||
import static io.opentelemetry.semconv.incubating.DbIncubatingAttributes.DB_OPERATION; |
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 think incubating attributes should be fine.
Updates semconv dependency version without making any changes to the underlying telemetry.