MessageEvent(mapping=None, *, ignore_unknown_fields=False, **kwargs)
An event describing a message sent/received between Spans.
Attributes
Name | Description |
type |
google.cloud.trace_v2.types.Span.TimeEvent.MessageEvent.Type
Type of MessageEvent. Indicates whether the message was sent or received. |
id |
int
An identifier for the MessageEvent's message that can be used to match SENT and RECEIVED MessageEvents.
|
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, the compressed size is assumed to be the same size as the uncompressed size. |
Classes
Type
Type(value)
Indicates whether the message was sent or received.
Values: TYPE_UNSPECIFIED (0): Unknown event type. SENT (1): Indicates a sent message. RECEIVED (2): Indicates a received message.