Skip to content

Commit 33b362b

Browse files
authored
Rename interceptors module (#31)
This PR renames the `GRPCInterceptors` module to `GRPCOTelTracingInterceptor`.
1 parent 283c9a2 commit 33b362b

File tree

10 files changed

+9
-9
lines changed

10 files changed

+9
-9
lines changed

.spi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
version: 1
22
builder:
33
configs:
4-
- documentation_targets: [GRPCHealthService, GRPCInterceptors]
4+
- documentation_targets: [GRPCHealthService, GRPCOTelTracingInterceptors]
55
swift_version: 6.0

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: "GRPCOTelTracingInterceptors",
31+
targets: ["GRPCOTelTracingInterceptors"]
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 interceptors.
119119
.target(
120-
name: "GRPCInterceptors",
120+
name: "GRPCOTelTracingInterceptors",
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: "GRPCOTelTracingInterceptorsTests",
129129
dependencies: [
130-
.target(name: "GRPCInterceptors"),
130+
.target(name: "GRPCOTelTracingInterceptors"),
131131
.product(name: "GRPCCore", package: "grpc-swift"),
132132
.product(name: "Tracing", package: "swift-distributed-tracing"),
133133
],

Tests/GRPCInterceptorsTests/OTelTracingInterceptorTests.swift renamed to Tests/GRPCOTelTracingInterceptorsTests/GRPCOTelTracingInterceptorsTests.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 GRPCOTelTracingInterceptors
1919
import Testing
2020
import Tracing
2121

Tests/GRPCInterceptorsTests/PeerAddressTests.swift renamed to Tests/GRPCOTelTracingInterceptorsTests/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 GRPCOTelTracingInterceptors
1818
import Testing
1919

2020
@Suite("PeerAddress tests")

0 commit comments

Comments
 (0)