-
Notifications
You must be signed in to change notification settings - Fork 186
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 OpenTelemetry 1.28.0 -> 1.38.0, instrumentation 1.28.0 -> 1.33.3 #3161
Update OpenTelemetry 1.28.0 -> 1.38.0, instrumentation 1.28.0 -> 1.33.3 #3161
Conversation
Motivation: We're experiencing some degree of incompatibility with otel. This is happening because we're using otels alpha API's for the semconv package and they have walked on us. Modifications: Upgrade the dependency version.
static final HttpClientAttributesGetter<HttpRequestMetaData, HttpResponseMetaData> CLIENT_INSTANCE = | ||
new ClientGetter(); | ||
|
||
static final HttpServerAttributesGetter<HttpRequestMetaData, HttpResponseMetaData> SERVER_INSTANCE = | ||
new ServerGetter(); |
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.
Note that in both of the getter types, we need these two different sub-classes because the ClientGetter and ServerGetter have some new default methods the the same signature and the java compiler doesn't know which to use.
...try-http/src/main/java/io/servicetalk/opentelemetry/http/OpenTelemetryHttpRequestFilter.java
Outdated
Show resolved
Hide resolved
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.
LGTM, only one question:
Motivation:
We're experiencing some degree of incompatibility with otel. This is happening because we're using otels alpha API's for the semconv package and they have walked on us.
Modifications:
Upgrade the dependency versions. Note that it seems like the 1.33.3-alpha boms are using the 1.38.0 non-alpha packages, which is odd but that is why the versions for alpha and non-alpha are different.