Skip to content

Commit 027920e

Browse files
committed
Rename interceptors module
1 parent 283c9a2 commit 027920e

File tree

9 files changed

+8
-8
lines changed

9 files changed

+8
-8
lines changed

Package.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ let products: [Product] = [
2727
targets: ["GRPCReflectionService"]
2828
),
2929
.library(
30-
name: "GRPCInterceptors",
31-
targets: ["GRPCInterceptors"]
30+
name: "GRPCOTelTracingInterceptor",
31+
targets: ["GRPCOTelTracingInterceptor"]
3232
),
3333
.library(
3434
name: "GRPCServiceLifecycle",
@@ -115,19 +115,19 @@ let targets: [Target] = [
115115
swiftSettings: defaultSwiftSettings
116116
),
117117

118-
// Common interceptors for gRPC.
118+
// gRPC OTel tracing interceptor.
119119
.target(
120-
name: "GRPCInterceptors",
120+
name: "GRPCOTelTracingInterceptor",
121121
dependencies: [
122122
.product(name: "GRPCCore", package: "grpc-swift"),
123123
.product(name: "Tracing", package: "swift-distributed-tracing"),
124124
],
125125
swiftSettings: defaultSwiftSettings
126126
),
127127
.testTarget(
128-
name: "GRPCInterceptorsTests",
128+
name: "GRPCOTelTracingInterceptorTests",
129129
dependencies: [
130-
.target(name: "GRPCInterceptors"),
130+
.target(name: "GRPCOTelTracingInterceptor"),
131131
.product(name: "GRPCCore", package: "grpc-swift"),
132132
.product(name: "Tracing", package: "swift-distributed-tracing"),
133133
],

Tests/GRPCInterceptorsTests/OTelTracingInterceptorTests.swift renamed to Tests/GRPCOTelTracingInterceptorTests/GRPCOTelTracingInterceptorTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
import GRPCCore
18-
import GRPCInterceptors
18+
import GRPCOTelTracingInterceptor
1919
import Testing
2020
import Tracing
2121

Tests/GRPCInterceptorsTests/PeerAddressTests.swift renamed to Tests/GRPCOTelTracingInterceptorTests/PeerAddressTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
import GRPCInterceptors
17+
import GRPCOTelTracingInterceptor
1818
import Testing
1919

2020
@Suite("PeerAddress tests")

0 commit comments

Comments
 (0)