Namespaces

Classes

A class that represents an Annotation resource.
Trait which provides helper methods for converting DateTime input formats.
Trait which provides helper methods for generating trace identifiers.
A class that represents a Link resource.
A class that represents a MessageEvent resource.
This class manages the logic for sampling and reporting a trace within a single request. It is not meant to be used directly -- instead, it should be managed by the Tracer as its singleton instance.
This plain PHP class represents a single timed event within a Trace. Spans can be nested and form a trace tree. Often, a trace contains a root span that describes the end-to-end latency of an operation and, optionally, one or more subspans for its suboperations. Spans do not need to be contiguous. There may be gaps between spans in a trace.
SpanContext encapsulates your current context within your request's trace. It includes 3 fields: the traceId, the current spanId, and an enabled flag which indicates whether or not the request is being traced.
This plain PHP class represents a read-only version of a single timed event within a Trace. Spans can be nested and form a trace tree. Often, a trace contains a root span that describes the end-to-end latency of an operation and, optionally, one or more subspans for its suboperations. Spans do not need to be contiguous. There may be gaps between spans in a trace.
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC.
An abstract class that represents a TimeEvent resource.
This class provides static functions to give you access to the current request's singleton tracer. You should use this class to instrument your code.