Span
public final class Span
extension Span: Hashable
Undocumented
-
Undocumented
Declaration
Swift
public let context: Span.Context
-
Undocumented
Declaration
Swift
public let parent: Span.Reference?
-
Undocumented
Declaration
Swift
public let name: String
-
Undocumented
Declaration
Swift
public let isSampled: Bool
-
Undocumented
Declaration
Swift
public let startTime: Date
-
Undocumented
Declaration
Swift
public private(set) var endTime: Date? { get }
-
Undocumented
Declaration
Swift
public var tags: Tags
-
Undocumented
Declaration
Swift
public var logs: [Log]
-
Undocumented
Declaration
Swift
public var isCompleted: Bool { get }
-
Undocumented
Declaration
Swift
public func set(_ value: String, forKey key: Tag.Key)
-
Undocumented
Declaration
Swift
public func set(_ value: Double, forKey key: Tag.Key)
-
Undocumented
Declaration
Swift
public func set(_ value: Bool, forKey key: Tag.Key)
-
Undocumented
Declaration
Swift
public func set(_ value: Int, forKey key: Tag.Key)
-
Undocumented
Declaration
Swift
public func set(_ value: Data, forKey key: Tag.Key)
-
Undocumented
Declaration
Swift
public func log(_ tags: Tags, at time: Date = .init())
-
Undocumented
Declaration
Swift
public func finish(at time: Date = Date())
-
Undocumented
Declaration
Swift
public func child(name: String, startTime: Date = Date()) -> Span
-
Undocumented
Declaration
Swift
public func propagate<I: Injector>( in carrier: inout I.Carrier, using injector: I )
-
Declaration
Swift
public static func == (lhs: Span, rhs: Span) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)