-
Notifications
You must be signed in to change notification settings - Fork 163
Opamp first iteration completion #2067
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
base: main
Are you sure you want to change the base?
Opamp first iteration completion #2067
Conversation
@LikeTheSalad thanks for making progress on this. Once it is sufficiently complete we should also look into setting up interoperability tests that verify that Java and Go implementations can work together. |
// Attaching animalsniffer check to the compilation process. | ||
tasks.named("classes").configure { | ||
finalizedBy("animalsnifferMain") | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
opentelemetry-java and opentelemetry-java-instrumentation don't have this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it. It's just a way of getting notified of an api compatibility issue during development without having to run all the build checks, though it's not strictly necessary, so I've just removed it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have anything particular against it just that it would be preferable to have this aligned with our other repositories.
@@ -45,8 +47,14 @@ public CompletableFuture<Response> send(BodyWriter writer, int contentLength) { | |||
RequestBody body = new RawRequestBody(writer, contentLength, MEDIA_TYPE); | |||
builder.post(body); | |||
|
|||
InstrumentationUtil.suppressInstrumentation(() -> doSendRequest(builder.build(), future)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps there should be a comment explaining that this prevents automatic instrumentation from tracing the underlying okhttp request?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. I've just added a comment.
# Conflicts: # disk-buffering/build.gradle.kts
Finishes the first iteration of the
opamp-client
module by addressing these issues: #1902, #1956, and #1954.The following changes have been added as well: