Constructs a new TraceAgent instance.
A string identifying this TraceAgent instance in logs.
Disable this instance. This function is only for internal use and unit tests.
Enables this instance. This function is only for internal use and unit tests. A separate TraceWriter instance should be initialized beforehand.
An object specifying how this instance should be configured.
A logger object.
Returns whether the TraceAgent instance is active. This function is only for internal use and unit tests; under normal circumstances it will always return true.
Generated using TypeDoc
TraceAgent exposes a number of methods to create trace spans and propagate trace context across asynchronous boundaries.