Package types (1.2.0)

API documentation for trace_v1.types package.

Classes

GetTraceRequest

The request message for the GetTrace method. .. attribute:: project_id

Required. ID of the Cloud project where the trace data is stored.

:type: str

ListTracesRequest

The request message for the ListTraces method. All fields are required unless specified.

ListTracesResponse

The response message for the ListTraces method. .. attribute:: traces

List of trace records as specified by the view parameter.

:type: Sequence[google.cloud.trace_v1.types.Trace]

PatchTracesRequest

The request message for the PatchTraces method. .. attribute:: project_id

Required. ID of the Cloud project where the trace data is stored.

:type: str

Trace

A trace describes how long it takes for an application to perform an operation. It consists of a set of spans, each of which represent a single timed event within the operation.

TraceSpan

A span 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.

Traces

List of new or updated traces. .. attribute:: traces

List of traces.

:type: Sequence[google.cloud.trace_v1.types.Trace]