Class MessageEvent (1.2.0)

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

Attributes

NameDescription
id int
An identifier for the MessageEvent's message that can be used to match SENT and RECEIVED MessageEvents. It is recommended to be unique within a Span.
uncompressed_size_bytes int
The number of uncompressed bytes sent or received.
compressed_size_bytes int
The number of compressed bytes sent or received. If missing assumed to be the same size as uncompressed.

Classes

Type

Type(value)

Indicates whether the message was sent or received.