Skip to content
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

Merged
merged 5 commits into from
Jan 10, 2025

Conversation

bryce-anderson
Copy link
Contributor

@bryce-anderson bryce-anderson commented Jan 8, 2025

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.

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.
@bryce-anderson bryce-anderson changed the title opentelemetry-http: upgrade optel version to 1.33.x opentelemetry-http: upgrade optel versions Jan 8, 2025
Comment on lines +38 to +42
static final HttpClientAttributesGetter<HttpRequestMetaData, HttpResponseMetaData> CLIENT_INSTANCE =
new ClientGetter();

static final HttpServerAttributesGetter<HttpRequestMetaData, HttpResponseMetaData> SERVER_INSTANCE =
new ServerGetter();
Copy link
Contributor Author

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.

@bryce-anderson bryce-anderson marked this pull request as ready for review January 9, 2025 18:54
Copy link
Member

@idelpivnitskiy idelpivnitskiy left a 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:

@idelpivnitskiy idelpivnitskiy changed the title opentelemetry-http: upgrade optel versions Update OpenTelemetry 1.28.0 -> 1.38.0, instrumentation 1.28.0 -> 1.33.3 Jan 9, 2025
@bryce-anderson bryce-anderson merged commit 8951931 into apple:main Jan 10, 2025
11 checks passed
@bryce-anderson bryce-anderson deleted the bl_anderson/otel-upgrade branch January 10, 2025 16:52
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.

3 participants