Tracer
extension Tracer
-
Create a
Span
based on a reference from aConnection
Declaration
Swift
public func span(name: String, from connection: Connection) -> Span
Parameters
name
The name of the
Span
request
The connection the
Span
reference (e.g. parentSpan
) is created fromReturn Value
The newly created
Span
-
Create a
Span
based on a reference from aRequest
Declaration
Swift
public func span(name: String, from request: HTTPClient.Request) -> Span
Parameters
name
The name of the
Span
request
The request the
Span
reference (e.g. parentSpan
) is created fromReturn Value
The newly created
Span