-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Emit tags suitable for OpenTelemetry 1.18 Semantic Conventions #4997
Conversation
this seems to be a breaking change that works only for open telemetry, given the name used, can you provide a PR that works and is tested for all tracing integrations please ? |
@vietj why do you think it is a breaking change? The PR only adds tags. |
@vietj I believe this PR is not a breaking change, I did not change or remove tags. May I have your reasoning? I would be opening a PR in vertx-tracing to update tests in that repo. I wanted to get buy-in with this PR and have it possibly merged. I am doing this so that I have passing tests when i open that PR. |
@Olamshin right, then use the same convention : |
I don't understand, Btw, the opentracing spec is deprecated and superseded by otel (see opentracing/specification#163) I think we should update the comment in |
@vietj |
we should keep the actual names and translate them in vertx open tracing when it get the tags. if there are missing tags then we should add them using the same convention |
we can think about changing the tag names in Vert.x 5.0 though but we need to update the vertx tracing implementation to behave like they do now. Perhaps we should consider dropping vertx-opentracing too in 5.0 |
as I explained, use the same convention and translate the tag in vertx Otel implementation. We can consider using the new tag names in Vert.x 5.0 |
Understood, thanks @vietj & @tsegismont! |
Motivation:
Ensure that spans have the right attributes to be classified correctly in an OpenTelemetry backend. OpenTelemetry conventions should override OpenTracing conventions eventually since OpenTracing has been absorbed into OpenTelemetry.
Approach:
Semantic conventions for HTTP & Messaging show some required attributes for OpenTelemetry spans. Extra tags have been added and none removed to ensure backwards compatibility. Added tags seems to be satisfactory for telemetry backends like Uptrace.
This is an upstream fix for eclipse-vertx/vertx-tracing#67