opentelemetry-java-instrumentation
opentelemetry-java-instrumentation copied to clipboard
WIP: Add coverage
- add jacoco to modules
- upload jacoco reports to codecov
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/1555
This PR is work in progress, and if there is any problem, please feedback here.
Here is codecov example https://app.codecov.io/github/robberphex/opentelemetry-java-instrumentation/tree/release%2Fcodecov/instrumentation.
Firstly see https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/conventions/src/main/kotlin/otel.jacoco-conventions.gradle.kts Currently we apply the jacoco conventions only to library instrumentations and sdk extensions, you also added it to some javaagent modules, does it actually report meaningful results for these?
@laurit I noticed otel.jacoco-conventions.gradle.
There's no need to add jacoco again. I am trying to figure out how to aggregate coverage reports.