Skip to content

Conversation

@trask
Copy link
Member

@trask trask commented Dec 9, 2024

Updates semconv dependency version without making any changes to the underlying telemetry.

@trask trask force-pushed the update-semconv-dependency-version branch from f84e678 to 05f5fbe Compare December 9, 2024 16:59
@trask trask marked this pull request as ready for review December 9, 2024 16:59
@trask trask requested a review from a team December 9, 2024 16:59
@trask trask added this to the v1.42.0 milestone Dec 9, 2024
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;
Copy link
Contributor

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?

Copy link
Member Author

@trask trask Dec 10, 2024

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

Copy link
Member Author

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

Copy link
Contributor

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;
Copy link
Contributor

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.

@trask trask merged commit 5b0e769 into open-telemetry:main Dec 12, 2024
14 checks passed
@trask trask deleted the update-semconv-dependency-version branch December 12, 2024 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants