This span object was created by TraceAgent#createChildSpan, and represents an outgoing RPC on behalf of an incoming request.
This span object was created by TraceAgent#runInRootSpan, and represents an incoming request.
This span object was created in circumstances where it is impossible to determine the associated request, and does not represent a real trace span. Getting a span object of this type should be considered an error.
This span object was created in circumstances where a trace span could not be created for one of the following reasons: (1) The Trace Agent is disabled, either explicitly or because a project ID couldn't be determined. (2) The configured tracing policy disallows tracing for this request (due to sampling restrictions, ignored URLs, etc.) (3) The current incoming request contains trace context headers that explicitly disable local tracing for the request. Getting a span object of this type should not be considered an error.
Generated using TypeDoc
An enumeration of the possible "types" of spans.