Tracer
extension Tracer
-
Create a
Spanbased on a reference from aConnectionDeclaration
Swift
public func span(name: String, from connection: Connection) -> SpanParameters
nameThe name of the
SpanrequestThe connection the
Spanreference (e.g. parentSpan) is created fromReturn Value
The newly created
Span -
Create a
Spanbased on a reference from aRequestDeclaration
Swift
public func span(name: String, from request: HTTPClient.Request) -> SpanParameters
nameThe name of the
SpanrequestThe request the
Spanreference (e.g. parentSpan) is created fromReturn Value
The newly created
Span
View on GitHub
Tracer Extension Reference