Skip to content

Commit

Permalink
opentelemetry: Publish grpc opentelemetry (#11187) (#11195)
Browse files Browse the repository at this point in the history
publish grpc opentelemetry
  • Loading branch information
DNVindhya authored May 9, 2024
1 parent 8133318 commit cc587e6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions opentelemetry/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
plugins {
id "java-library"
id "maven-publish"

id "ru.vyarus.animalsniffer"
}

description = 'gRPC: OpenTelemetry'
Expand All @@ -17,6 +20,9 @@ dependencies {
"org.assertj:assertj-core:3.24.2"

annotationProcessor libraries.auto.value

signature libraries.signature.java
signature libraries.signature.android
}

tasks.named("jar").configure {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
*
* <p>GrpcOpenTelemetry uses {@link io.opentelemetry.api.OpenTelemetry} APIs for instrumentation.
* When no SDK is explicitly added no telemetry data will be collected. See
* {@link io.opentelemetry.sdk.OpenTelemetrySdk} for information on how to construct the SDK.
* {@code io.opentelemetry.sdk.OpenTelemetrySdk} for information on how to construct the SDK.
*
*/
public final class GrpcOpenTelemetry {
Expand Down Expand Up @@ -279,7 +279,7 @@ private Builder() {}
/**
* Sets the {@link io.opentelemetry.api.OpenTelemetry} entrypoint to use. This can be used to
* configure OpenTelemetry by returning the instance created by a
* {@link io.opentelemetry.sdk.OpenTelemetrySdkBuilder}.
* {@code io.opentelemetry.sdk.OpenTelemetrySdkBuilder}.
*/
public Builder sdk(OpenTelemetry sdk) {
this.openTelemetrySdk = sdk;
Expand Down

0 comments on commit cc587e6

Please sign in to comment.