-
Notifications
You must be signed in to change notification settings - Fork 1k
fix graal native image - improvement #15306
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
fix graal native image - improvement #15306
Conversation
...ain/java/io/opentelemetry/instrumentation/spring/web/v3_1/SpringWebHttpAttributesGetter.java
Outdated
Show resolved
Hide resolved
...ain/java/io/opentelemetry/instrumentation/spring/web/v3_1/SpringWebHttpAttributesGetter.java
Outdated
Show resolved
Hide resolved
|
I created #15311 that uses a slightly different approach just to test out whether it would work. Noticed that for webflux instrumentation the header getter logic is duplicated for client and server instrumentation, fixed that too. The approach taken in this PR is fine too and I might even prefer it. Though first all tests would need to pass. |
great - I'm also trying to fix this PR so that we can choose.
|
|
@laurit should I rebase - or just close this PR? |
your choice. I like that it always uses |
925e44c to
71f5a5b
Compare
removed that again |
...b-3.1/library/src/main/java/io/opentelemetry/instrumentation/spring/web/v3_1/HeaderUtil.java
Outdated
Show resolved
Hide resolved
...b-3.1/library/src/main/java/io/opentelemetry/instrumentation/spring/web/v3_1/HeaderUtil.java
Outdated
Show resolved
Hide resolved
...b-3.1/library/src/main/java/io/opentelemetry/instrumentation/spring/web/v3_1/HeaderUtil.java
Outdated
Show resolved
Hide resolved
74ca70f to
75b93e8
Compare
...b-3.1/library/src/main/java/io/opentelemetry/instrumentation/spring/web/v3_1/HeaderUtil.java
Outdated
Show resolved
Hide resolved
...b-3.1/library/src/main/java/io/opentelemetry/instrumentation/spring/web/v3_1/HeaderUtil.java
Outdated
Show resolved
Hide resolved
|
@laurit thanks for the feedback I also added nullaway to make the new code more maintainable |
We broke native image and didn't realize it because