Skip to content

Normalize Spring Boot actuator autoconfigure javaagent package#18733

Merged
trask merged 2 commits into
open-telemetry:mainfrom
trask:package-name-cleanup-spring-boot-actuator-autoconfigure
May 14, 2026
Merged

Normalize Spring Boot actuator autoconfigure javaagent package#18733
trask merged 2 commits into
open-telemetry:mainfrom
trask:package-name-cleanup-spring-boot-actuator-autoconfigure

Conversation

@trask

@trask trask commented May 13, 2026

Copy link
Copy Markdown
Member

@trask trask marked this pull request as ready for review May 13, 2026 20:14
@trask trask requested a review from a team as a code owner May 13, 2026 20:14
Copilot AI review requested due to automatic review settings May 13, 2026 20:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Normalizes the Spring Boot actuator autoconfigure javaagent package naming so that the declared Java packages match the module path (.../actuator/autoconfigure/v2_0) and related helper resource/exposed class references are consistent.

Changes:

  • Renamed the Java package from ...spring.boot.actuator.v2_0 to ...spring.boot.actuator.autoconfigure.v2_0 in main and test sources.
  • Updated the helper resource registration path and exposed class name string to the new package.
  • Updated test imports to reference the relocated SpringApp.TestBean.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
instrumentation/spring/spring-boot-actuator-autoconfigure-2.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/spring/boot/actuator/autoconfigure/v2_0/SpringApp.java Aligns test app package with autoconfigure/v2_0.
instrumentation/spring/spring-boot-actuator-autoconfigure-2.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/spring/boot/actuator/autoconfigure/v2_0/ActuatorTest.java Aligns test package and updates SpringApp.TestBean import to the new package.
instrumentation/spring/spring-boot-actuator-autoconfigure-2.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/spring/boot/actuator/autoconfigure/v2_0/SpringBootActuatorInstrumentationModule.java Updates module package and fixes helper resource + exposed class name strings to the new package.
instrumentation/spring/spring-boot-actuator-autoconfigure-2.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/spring/boot/actuator/autoconfigure/v2_0/SpringBootActuatorIgnoredTypesConfigurer.java Aligns ignored-types configurer package with autoconfigure/v2_0.
instrumentation/spring/spring-boot-actuator-autoconfigure-2.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/spring/boot/actuator/autoconfigure/v2_0/OpenTelemetryMeterRegistryAutoConfiguration.java Aligns autoconfiguration class package with autoconfigure/v2_0.
instrumentation/spring/spring-boot-actuator-autoconfigure-2.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/spring/boot/actuator/autoconfigure/v2_0/AutoConfigurationImportSelectorInstrumentation.java Aligns instrumentation package with autoconfigure/v2_0.

@trask trask merged commit 6c1e485 into open-telemetry:main May 14, 2026
99 checks passed
@trask trask deleted the package-name-cleanup-spring-boot-actuator-autoconfigure branch May 14, 2026 14:43
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