Skip to content

Commit

Permalink
Stop publishing opentelemetry-extension-annotations artifact (#4750)
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-berg authored Sep 12, 2022
1 parent 6c6a5fd commit cdab465
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 185 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ dependency as follows, replacing `{{artifact-id}}` with the value from the "Arti
| [Kotlin Extension](./extensions/kotlin) | Context extension for coroutines | `opentelemetry-extension-kotlin` | <!--VERSION_STABLE-->1.18.0<!--/VERSION_STABLE--> |
| [Trace Propagators Extension](./extensions/trace-propagators) | Trace propagators, including B3, Jaeger, OT Trace | `opentelemetry-extension-trace-propagators` | <!--VERSION_STABLE-->1.18.0<!--/VERSION_STABLE--> |
| [Incubator Extension](./extensions/incubator) | API incubator, including pass through propagator, and extended tracer | `opentelemetry-extension-incubator` | <!--VERSION_UNSTABLE-->1.18.0-alpha<!--/VERSION_UNSTABLE--> |
| [Annotations Extension](./extensions/annotations) | Instrumentation annotations, used in conjunction with OpenTelemetry java agent (deprecated) | `opentelemetry-extension-annotations` | <!--VERSION_STABLE-->1.18.0<!--/VERSION_STABLE--> |

### SDK

Expand Down
1 change: 1 addition & 0 deletions all/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ dependencies {
testImplementation("io.grpc:grpc-api")
testImplementation("io.grpc:grpc-protobuf")
testImplementation("io.grpc:grpc-stub")
testImplementation("io.opentelemetry:opentelemetry-extension-annotations")

testImplementation("com.tngtech.archunit:archunit-junit5")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ void exporterJaegerProto() {
classAvailable("io.opentelemetry.exporter.jaeger.proto.api_v2.Model");
}

@Test
void extensionAnnotations() {
classAvailable("io.opentelemetry.extension.annotations.WithSpan");
classAvailable("io.opentelemetry.extension.annotations.SpanAttribute");
}

private static void classAvailable(String fqcn) {
Assertions.assertThatCode(() -> Class.forName(fqcn)).doesNotThrowAnyException();
}
Expand Down
1 change: 1 addition & 0 deletions bom/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ otelBom.projectFilter.set { !it.hasProperty("otel.release") }

// Artifacts that were previously published and included in the BOM for backwards compatibility
otelBom.addFallback("opentelemetry-exporter-jaeger-proto", "1.17.0")
otelBom.addFallback("opentelemetry-extension-annotations", "1.18.0")

This file was deleted.

12 changes: 0 additions & 12 deletions extensions/annotations/README.md

This file was deleted.

13 changes: 0 additions & 13 deletions extensions/annotations/build.gradle.kts

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ include(":bom")
include(":bom-alpha")
include(":context")
include(":dependencyManagement")
include(":extensions:annotations")
include(":extensions:incubator")
include(":extensions:aws")
include(":extensions:kotlin")
Expand Down

0 comments on commit cdab465

Please sign in to comment.