A collection of TimeEvent
s. A TimeEvent
is a time-stamped annotation on the span, consisting of either user-supplied key:value pairs, or details of a message sent/received between Spans.
JSON representation |
---|
{
"timeEvent": [
{
object ( |
Fields | |
---|---|
timeEvent[] |
A collection of |
droppedAnnotationsCount |
The number of dropped annotations in all the included time events. If the value is 0, then no annotations were dropped. |
droppedMessageEventsCount |
The number of dropped message events in all the included time events. If the value is 0, then no message events were dropped. |
TimeEvent
A time-stamped annotation or message event in the Span.
JSON representation |
---|
{ "time": string, // Union field |
Fields | |
---|---|
time |
The timestamp indicating the time the event occurred. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Union field value . A TimeEvent can contain either an Annotation object or a MessageEvent object, but not both. value can be only one of the following: |
|
annotation |
Text annotation with a set of attributes. |
messageEvent |
An event describing a message sent/received between Spans. |
Annotation
Text annotation with a set of attributes.
JSON representation |
---|
{ "description": { object ( |
Fields | |
---|---|
description |
A user-supplied message describing the event. The maximum length for the description is 256 bytes. |
attributes |
A set of attributes on the annotation. You can have up to 4 attributes per Annotation. |
MessageEvent
An event describing a message sent/received between Spans.
JSON representation |
---|
{
"type": enum ( |
Fields | |
---|---|
type |
Type of MessageEvent. Indicates whether the message was sent or received. |
id |
An identifier for the MessageEvent's message that can be used to match |
uncompressedSizeBytes |
The number of uncompressed bytes sent or received. |
compressedSizeBytes |
The number of compressed bytes sent or received. If missing, the compressed size is assumed to be the same size as the uncompressed size. |
Type
Indicates whether the message was sent or received.
Enums | |
---|---|
TYPE_UNSPECIFIED |
Unknown event type. |
SENT |
Indicates a sent message. |
RECEIVED |
Indicates a received message. |