Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration SpanType

An enumeration of the possible "types" of spans.

Index

Enumeration members

Enumeration members

CHILD

CHILD: = "CHILD"

This span object was created by TraceAgent#createChildSpan, and represents an outgoing RPC on behalf of an incoming request.

ROOT

ROOT: = "ROOT"

This span object was created by TraceAgent#runInRootSpan, and represents an incoming request.

UNCORRELATED

UNCORRELATED: = "UNCORRELATED"

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.

UNTRACED

UNTRACED: = "UNTRACED"

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