Constructs a new Tracer instance.
Returns the active GeneralLimits.
Returns the active SpanLimits.
Starts a new Span and calls the given function passing it the created span as first argument. Additionally the new span gets set in context and this context is activated for the duration of the function call.
The name of the span
function called in the context of the span and receives the newly created span as an argument
return value of fn
Starts a new Span or returns the default NoopSpan based on the sampling decision.
Generated using TypeDoc
This class represents a basic tracer.