Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
12 changes: 6 additions & 6 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ let products: [Product] = [
targets: ["GRPCReflectionService"]
),
.library(
name: "GRPCInterceptors",
targets: ["GRPCInterceptors"]
name: "GRPCOTelTracingInterceptor",
targets: ["GRPCOTelTracingInterceptor"]
),
.library(
name: "GRPCServiceLifecycle",
Expand Down Expand Up @@ -115,19 +115,19 @@ let targets: [Target] = [
swiftSettings: defaultSwiftSettings
),

// Common interceptors for gRPC.
// gRPC OTel tracing interceptor.
.target(
name: "GRPCInterceptors",
name: "GRPCOTelTracingInterceptor",
dependencies: [
.product(name: "GRPCCore", package: "grpc-swift"),
.product(name: "Tracing", package: "swift-distributed-tracing"),
],
swiftSettings: defaultSwiftSettings
),
.testTarget(
name: "GRPCInterceptorsTests",
name: "GRPCOTelTracingInterceptorTests",
dependencies: [
.target(name: "GRPCInterceptors"),
.target(name: "GRPCOTelTracingInterceptor"),
.product(name: "GRPCCore", package: "grpc-swift"),
.product(name: "Tracing", package: "swift-distributed-tracing"),
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

import GRPCCore
import GRPCInterceptors
import GRPCOTelTracingInterceptor
import Testing
import Tracing

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

import GRPCInterceptors
import GRPCOTelTracingInterceptor
import Testing

@Suite("PeerAddress tests")
Expand Down
Loading