Class TimeEvent (1.15.0)

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

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

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
time google.protobuf.timestamp_pb2.Timestamp
The timestamp indicating the time the event occurred.
annotation google.cloud.trace_v2.types.Span.TimeEvent.Annotation
Text annotation with a set of attributes. This field is a member of oneof_ value.
message_event google.cloud.trace_v2.types.Span.TimeEvent.MessageEvent
An event describing a message sent/received between Spans. This field is a member of oneof_ value.

Classes

Annotation

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

Text annotation with a set of attributes.

MessageEvent

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

An event describing a message sent/received between Spans.