@@ -54,7 +54,7 @@ public protocol LegacyTracer: Instrument {
54
54
function: String ,
55
55
file fileID: String ,
56
56
line: UInt
57
- ) -> any Span
57
+ ) -> any Tracing . Span
58
58
59
59
/// Export all ended spans to the configured backend that have not yet been exported.
60
60
///
@@ -108,7 +108,7 @@ extension LegacyTracer {
108
108
function: String = #function,
109
109
file fileID: String = #fileID,
110
110
line: UInt = #line
111
- ) -> any Span {
111
+ ) -> any Tracing . Span {
112
112
self . startAnySpan (
113
113
operationName,
114
114
baggage: baggage ( ) ,
@@ -155,7 +155,7 @@ extension LegacyTracer {
155
155
function: String = #function,
156
156
file fileID: String = #fileID,
157
157
line: UInt = #line
158
- ) -> any Span {
158
+ ) -> any Tracing . Span {
159
159
self . startAnySpan (
160
160
operationName,
161
161
baggage: baggage ( ) ,
@@ -200,7 +200,7 @@ extension LegacyTracer {
200
200
function: String = #function,
201
201
file fileID: String = #fileID,
202
202
line: UInt = #line,
203
- _ operation: ( any Span ) throws -> T
203
+ _ operation: ( any Tracing . Span ) throws -> T
204
204
) rethrows -> T {
205
205
let span = self . startAnySpan (
206
206
operationName,
@@ -253,7 +253,7 @@ extension LegacyTracer {
253
253
function: String = #function,
254
254
file fileID: String = #fileID,
255
255
line: UInt = #line,
256
- _ operation: ( any Span ) throws -> T
256
+ _ operation: ( any Tracing . Span ) throws -> T
257
257
) rethrows -> T {
258
258
try self . withAnySpan (
259
259
operationName,
@@ -301,7 +301,7 @@ extension LegacyTracer {
301
301
function: String = #function,
302
302
file fileID: String = #fileID,
303
303
line: UInt = #line,
304
- _ operation: ( any Span ) async throws -> T
304
+ _ operation: ( any Tracing . Span ) async throws -> T
305
305
) async rethrows -> T {
306
306
let span = self . startAnySpan (
307
307
operationName,
@@ -354,7 +354,7 @@ extension LegacyTracer {
354
354
function: String = #function,
355
355
file fileID: String = #fileID,
356
356
line: UInt = #line,
357
- _ operation: ( any Span ) async throws -> T
357
+ _ operation: ( any Tracing . Span ) async throws -> T
358
358
) async rethrows -> T {
359
359
let span = self . startAnySpan (
360
360
operationName,
@@ -469,7 +469,7 @@ extension Tracer {
469
469
function: String = #function,
470
470
file fileID: String = #fileID,
471
471
line: UInt = #line,
472
- _ operation: ( any Span ) throws -> T
472
+ _ operation: ( any Tracing . Span ) throws -> T
473
473
) rethrows -> T {
474
474
try self . withSpan (
475
475
operationName,
@@ -524,7 +524,7 @@ extension Tracer {
524
524
function: String = #function,
525
525
file fileID: String = #fileID,
526
526
line: UInt = #line,
527
- @_inheritActorContext @_implicitSelfCapture _ operation: ( any Span ) async throws -> T
527
+ @_inheritActorContext @_implicitSelfCapture _ operation: ( any Tracing . Span ) async throws -> T
528
528
) async rethrows -> T {
529
529
try await self . withSpan (
530
530
operationName,
0 commit comments