Skip to content

Commit 0eb4fb2

Browse files
author
Anuraag Agrawal
authored
Exclude all, not just span, generated semconv from coverage (#2872)
1 parent e60b810 commit 0eb4fb2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

all/build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ tasks.named<JacocoReport>("jacocoTestReport") {
7070
!it.absolutePath.contains("io/opentelemetry/proto/") &&
7171
!it.absolutePath.contains("io/opentelemetry/exporter/jaeger/proto/") &&
7272
!it.absolutePath.contains("io/opentelemetry/sdk/extension/trace/jaeger/proto/") &&
73-
!it.absolutePath.contains("io/opentelemetry/api/trace/attributes/SemanticAttributes") &&
74-
!it.absolutePath.contains("io/opentelemetry/semconv/trace/attributes/SemanticAttributes") &&
73+
!it.absolutePath.contains("io/opentelemetry/semconv/trace/attributes/") &&
7574
!it.absolutePath.contains("AutoValue_") &&
7675
// TODO(anuraaga): Remove exclusion after enabling coverage for jfr-events
7776
!it.absolutePath.contains("io/opentelemetry/sdk/extension/jfr")

0 commit comments

Comments
 (0)