Skip to content

Commit

Permalink
Make GRPC an API dependency of Jaeger exporter (#1882)
Browse files Browse the repository at this point in the history
* Make GRPC an API dependency of Jaeger exporter

The JaegerGrpcSpanExporter.Builder has a public method that takes a io.grpc.ManagedChannel. Unless the Jaeger exporter declares an api dependency on GRPC API in Gradle, Gradle consumers will not find the GRPC API on their compile path.

* Fix typo in JaegerGrpcSpanExporter documentation
  • Loading branch information
MariusVolkhart authored Oct 26, 2020
1 parent 00aa351 commit b901c2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions exporters/jaeger/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ description = 'OpenTelemetry - Jaeger Exporter'
ext.moduleName = "io.opentelemetry.exporters.jaeger"

dependencies {
api project(':opentelemetry-sdk')
api project(':opentelemetry-sdk'),
libraries.grpc_api

implementation project(':opentelemetry-sdk-extension-otproto'),
project(':opentelemetry-sdk'),
libraries.grpc_api,
libraries.grpc_protobuf,
libraries.grpc_stub,
libraries.protobuf,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public Builder setServiceName(String serviceName) {
}

/**
* Sets the managed chanel to use when communicating with the backend. Takes precedence over
* Sets the managed channel to use when communicating with the backend. Takes precedence over
* {@link #setEndpoint(String)} if both are called.
*
* @param channel the channel to use.
Expand Down

0 comments on commit b901c2b

Please sign in to comment.