Skip to content

Convert additional instrumentation classes to kotlin#1139

Merged
breedx-splk merged 1 commit into
open-telemetry:mainfrom
embrace-io:fractalwrench/convert-kt-2
Aug 12, 2025
Merged

Convert additional instrumentation classes to kotlin#1139
breedx-splk merged 1 commit into
open-telemetry:mainfrom
embrace-io:fractalwrench/convert-kt-2

Conversation

@fractalwrench

Copy link
Copy Markdown
Member

Goal

Continues converting some more of the instrumentation code to Kotlin. I've avoided API breaking changes by relying on the API validation added in #1124 which should detect any changes to the public API. The only change is functions/classes are final by default in Kotlin.

The ultimate goal of these changes is to migrate from kapt to ksp. Doing this requires migrating away from @AutoService to a Kotlin solution that uses the same annotation, and as part of this, it'll be necessary to migrate these classes to Kotlin.

This PR is related to #1133

@fractalwrench fractalwrench requested a review from a team as a code owner August 11, 2025 10:04
@fractalwrench fractalwrench force-pushed the fractalwrench/convert-kt-2 branch from d643e6e to 46a84b0 Compare August 11, 2025 10:59

@LikeTheSalad LikeTheSalad 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.

Cheers!

@breedx-splk breedx-splk merged commit b7284a1 into open-telemetry:main Aug 12, 2025
6 checks passed
breedx-splk added a commit to breedx-splk/opentelemetry-android that referenced this pull request Aug 13, 2025
breedx-splk added a commit that referenced this pull request Aug 14, 2025
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.

4 participants