Skip to content

Conversation

@trask
Copy link
Member

@trask trask commented Dec 22, 2025

(except for runtime-telemetry* modules)

Part of #15692

@trask trask changed the title Migrate AgentInstrumentationConfig.get() usages to declarative config= API in modules o-z Migrate AgentInstrumentationConfig.get() usages to declarative config API in modules o-z Dec 22, 2025
Comment on lines +16 to +18
DeclarativeConfigUtil.getInstrumentationConfig(GlobalOpenTelemetry.get(), "common")
.get("gen_ai")
.getBoolean("capture_message_content", false))
Copy link
Member Author

Choose a reason for hiding this comment

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

moved under .instrumentation.java.common

and renamed genai to gen_ai to match semantic conventions naming

MethodsConfigurationParser.parse(
AgentInstrumentationConfig.get().getString(TRACE_ANNOTATED_METHODS_EXCLUDE_CONFIG));
DeclarativeConfigUtil.getInstrumentationConfig(
GlobalOpenTelemetry.get(), "opentelemetry_extension_annotations")
Copy link
Member Author

Choose a reason for hiding this comment

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

renamed this from opentelemetry_annotations to opentelemetry_extension_annotations in order to match the instrumentation name

@trask trask merged commit 9b312c5 into open-telemetry:main Dec 23, 2025
85 checks passed
@trask trask deleted the migrate-more branch December 23, 2025 21:59
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.

2 participants