Class TimeEvent (1.2.0)

TimeEvent(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A time-stamped annotation or message event in the Span. .. attribute:: time

The timestamp indicating the time the event occurred.

:type: google.protobuf.timestamp_pb2.Timestamp

Attributes

NameDescription
annotation google.cloud.trace_v2.types.Span.TimeEvent.Annotation
Text annotation with a set of attributes.
message_event google.cloud.trace_v2.types.Span.TimeEvent.MessageEvent
An event describing a message sent/received between Spans.

Classes

Annotation

Annotation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Text annotation with a set of attributes. .. attribute:: description

A user-supplied message describing the event. The maximum length for the description is 256 bytes.

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

MessageEvent

MessageEvent(mapping=None, *, ignore_unknown_fields=False, **kwargs)

An event describing a message sent/received between Spans. .. attribute:: type

Type of MessageEvent. Indicates whether the message was sent or received.

:type: google.cloud.trace_v2.types.Span.TimeEvent.MessageEvent.Type