Skip to content
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

opentelemetry: Publish grpc opentelemetry #11187

Merged
merged 3 commits into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
ejona86 marked this conversation as resolved.
Show resolved Hide resolved
}

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
Loading