Skip to content

Migrate network instrumentation to kotlin #901

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

Merged
merged 4 commits into from
Mar 25, 2025

Conversation

breedx-splk
Copy link
Contributor

This will rebase after #900 is merged.

Based on this comment, we want to simplify the network instrumentation by migrating it to kotlin, which eliminates the explicit BiConsumer ugliness. In the process of doing this, it also became apparent that the NetworkChangeMonitor class wasn't really pulling its weight, so its only small method was just brought into the install() for the instrumentation....further simplifying things.

@breedx-splk breedx-splk requested a review from a team as a code owner March 20, 2025 20:07

fun LogRecordDataAssert.hasEventName(eventName: String): LogRecordDataAssert {
isNotNull()
// TODO: This will be removed after the event bits of logs gets out of incubating.
Copy link
Member

Choose a reason for hiding this comment

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

just a note I guess? or should we create an issue?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think the note is fine....once incubator changes it should force us to notice.

@breedx-splk breedx-splk force-pushed the network_inst_kotlin branch from 1c86481 to c11cb05 Compare March 24, 2025 22:54
@breedx-splk breedx-splk merged commit 755660a into open-telemetry:main Mar 25, 2025
6 checks passed
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