Skip to content

Conversation

SentryMan
Copy link
Contributor

@SentryMan SentryMan commented Apr 25, 2025

Adds helidon support

Resolves #11809 and helidon-io/helidon#10051

@tjquinno
Copy link

@SentryMan Your PR in Helidon that fixed the related problem is in release 4.2.3 which was released last week.

IIRC that was the blocker for this PR. Might you be able to try this one using 4.2.3 and see if it works?

@SentryMan
Copy link
Contributor Author

@SentryMan Your PR in Helidon that fixed the related problem is in release 4.2.3 which was released last week.

There is no matchingPattern method on ServerRequest in this version

@tjquinno
Copy link

tjquinno commented Jun 12, 2025

Ugh. You're right. I based my previous note on just a quick glance at the PR date vs. the release date of 4.2.3, but your bug fix was for an enhancement PR, and we are (almost) never including enhancements in dot-dot releases.

So 4.3 is the right release to use.

@tjquinno
Copy link

@SentryMan

There should be a 4.3.0-M1 not-yet-production milestone build available in maven central which contains the required change.

If you want to update this PR with that--while keeping this a draft because M1 is not production-ready--that might be useful. We are planning an M2 update soon with a production 4.3.0 coming.

@otelbot-java-instrumentation
Copy link
Contributor

🔧 The result from spotlessApply was committed to the PR branch.

@SentryMan SentryMan marked this pull request as ready for review September 29, 2025 14:16
@SentryMan SentryMan requested a review from a team as a code owner September 29, 2025 14:16
@SentryMan
Copy link
Contributor Author

@laurit long time no see, how should I go about resolving this:

Cannot copy zip entry '/home/runner/.gradle/caches/modules-2/files-2.1/io.helidon.webserver/helidon-webserver/4.3.0/db68631c006aa1179e528d8045b180c5bbabeddd/helidon-webserver-4.3.0.jar!META-INF/LICENSE.txt' to 'META-INF/LICENSE.txt' because zip entry '/home/runner/work/opentelemetry-java-instrumentation/opentelemetry-java-instrumentation/javaagent-internal-logging-simple/build/libs/opentelemetry-javaagent-internal-logging-simple-2.21.0-alpha-SNAPSHOT-all.jar!META-INF/LICENSE.txt' has already been copied there.

@laurit
Copy link
Contributor

laurit commented Sep 30, 2025

@laurit long time no see, how should I go about resolving this:

Cannot copy zip entry '/home/runner/.gradle/caches/modules-2/files-2.1/io.helidon.webserver/helidon-webserver/4.3.0/db68631c006aa1179e528d8045b180c5bbabeddd/helidon-webserver-4.3.0.jar!META-INF/LICENSE.txt' to 'META-INF/LICENSE.txt' because zip entry '/home/runner/work/opentelemetry-java-instrumentation/opentelemetry-java-instrumentation/javaagent-internal-logging-simple/build/libs/opentelemetry-javaagent-internal-logging-simple-2.21.0-alpha-SNAPSHOT-all.jar!META-INF/LICENSE.txt' has already been copied there.

You could exclude the META-INF/LICENSE.txt in the failing relocateJavaagentLibsTmp task, but in your case that wouldn't be ideal. The real problem here is that you are attempting to package helidon-webserver-4.3.0.jar inside the agent jar which is probably not what you really want. Keep in mind that any implementation dependency of your instrumentation will be included with the agent. You should use library (our custom scope that means compileOnly + testImplementation) instead.

@SentryMan
Copy link
Contributor Author

@laurit not sure I get it

@laurit laurit added this to the v2.21.0 milestone Oct 2, 2025
@trask trask enabled auto-merge (squash) October 9, 2025 15:10
@trask trask merged commit 31b8a88 into open-telemetry:main Oct 9, 2025
81 checks passed
Copy link
Contributor

otelbot bot commented Oct 9, 2025

Thank you for your contribution @SentryMan! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this survey.

@SentryMan SentryMan deleted the feature/helidon branch October 9, 2025 15:54
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.

Add Support for the Helidon Webserver

5 participants