Skip to content

Commit c3c7b81

Browse files
committed
Document spanKind argument in startSpan method 📖
1 parent 2d09dee commit c3c7b81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/Instrumentation/Tracing/TracingInstrument.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public protocol TracingInstrument: Instrument {
2424
/// - Parameters:
2525
/// - operationName: The name of the operation being traced. This may be a handler function, database call, ...
2626
/// - context: The `BaggageContext` within to start the new `Span`.
27+
/// - kind: The `SpanKind` of the new `Span`.
2728
/// - timestamp: The `DispatchTime` at which to start the new `Span`.
2829
func startSpan(
2930
named operationName: String,

0 commit comments

Comments
 (0)