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. |
TimeEvent
A time-stamped annotation or message event in the Span.
JSON representation |
---|
{ "time" : string , // Union field |
time
string (
Timestamp
format)
The timestamp indicating the time the event occurred.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z"
, "2014-10-02T15:01:23.045123456Z"
or "2014-10-02T15:01:23+05:30"
.
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
object (
Annotation
)
Text annotation with a set of attributes.
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. |