Skip to content

Conversation

@otelbot
Copy link
Contributor

@otelbot otelbot bot commented Mar 7, 2025

Update the OpenTelemetry SDK version to 1.48.0.

@otelbot otelbot bot requested a review from a team as a code owner March 7, 2025 23:49
@github-actions github-actions bot added the test native This label can be applied to PRs to trigger them to run native tests label Mar 7, 2025
@laurit
Copy link
Contributor

laurit commented Mar 8, 2025

The changes in this PR and #13463 are currently not completely aligned.

StructuredConfigPropertiesBridge(StructuredConfigProperties rootStructuredConfigProperties) {
instrumentationJavaNode =
rootStructuredConfigProperties
.getStructured("instrumentation", empty())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jack-berg I had to remove this line to get the modified DeclarativeConfigPropertiesBridgeTest from https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13463/files passing. Is this correct?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks correct but should rename rootStructuredConfigProperties to instrumentationNode (or equivalent).

AgentListener now obtains the DeclarativeConfigProperties representing the .instrumentation node via ConfigProvider#getInstrumentationConfig().

@laurit laurit merged commit df111a4 into main Mar 11, 2025
86 checks passed
@laurit laurit deleted the otelbot/update-opentelemetry-sdk-to-1.48.0 branch March 11, 2025 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test native This label can be applied to PRs to trigger them to run native tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants