-
Notifications
You must be signed in to change notification settings - Fork 878
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
Split spring resource detectors #10636
Split spring resource detectors #10636
Conversation
...ntelemetry/instrumentation/spring/autoconfigure/resources/OtelResourceAutoConfiguration.java
Outdated
Show resolved
Hide resolved
aec3370
to
927bc66
Compare
927bc66
to
940de9a
Compare
implementation("org.snakeyaml:snakeyaml-engine") | ||
|
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.
👍
testImplementation(project(":instrumentation:spring:spring-boot-resources:library")) | ||
testImplementation(project(":instrumentation:spring:spring-boot-resources:javaagent")) |
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.
since this module only contains javaagent tests(?), let's move them to the javaagent
module and delete the testing
module
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.
This breaks the test, because it expects a file to be missing - but it's present in the javaagent test dir
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.
ah, I see, maybe this testing
module should be renamed to javaagent-unit-tests
? https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/contributing/writing-instrumentation.md#writing-java-agent-unit-tests
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.
done
when you have a chance can you check CI failures? |
done - and now another test failure from broken main (Kafka related) |
d59c9b9
to
e33e9e0
Compare
...tel-starter/src/test/java/io/opentelemetry/smoketest/OtelSpringStarterDisabledSmokeTest.java
Outdated
Show resolved
Hide resolved
…est/OtelSpringStarterDisabledSmokeTest.java
Closed in favor of #10685 |
I didn't follow why closing, I thought this PR was good? |
because one of them should only be used in the javaagent
Fixes #10634