Package types (1.3.4)

API documentation for trace_v2.types package.

Classes

AttributeValue

The allowed types for [VALUE] in a [KEY]:[VALUE] attribute. .. attribute:: string_value

A string up to 256 bytes long.

:type: google.cloud.trace_v2.types.TruncatableString

BatchWriteSpansRequest

The request message for the BatchWriteSpans method. .. attribute:: name

Required. The name of the project where the spans belong. The format is projects/[PROJECT_ID].

:type: str

Module

Binary module. .. attribute:: module

For example: main binary, kernel modules, and dynamic libraries such as libc.so, sharedlib.so (up to 256 bytes).

:type: google.cloud.trace_v2.types.TruncatableString

Span

A span represents a single operation within a trace. Spans can be nested to form a trace tree. Often, a trace contains a root span that describes the end-to-end latency, and one or more subspans for its sub-operations. A trace can also contain multiple root spans, or none at all. Spans do not need to be contiguous—there may be gaps or overlaps between spans in a trace.

StackTrace

A call stack appearing in a trace. .. attribute:: stack_frames

Stack frames in this stack trace. A maximum of 128 frames are allowed.

:type: google.cloud.trace_v2.types.StackTrace.StackFrames

TruncatableString

Represents a string that might be shortened to a specified length.