SpanLogCollection¶
- class oci.apm_traces.models.SpanLogCollection(**kwargs)¶
Bases:
objectDefinition of span log collection object.
Methods:
__init__(**kwargs)Initializes a new SpanLogCollection object with values from keyword arguments.
Attributes:
Gets the event_name of this SpanLogCollection.
Gets the span_logs of this SpanLogCollection.
Gets the time_created of this SpanLogCollection.
- __init__(**kwargs)¶
Initializes a new SpanLogCollection object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
time_created (datetime) – The value to assign to the time_created property of this SpanLogCollection.
event_name (str) – The value to assign to the event_name property of this SpanLogCollection.
span_logs (list[oci.apm_traces.models.SpanLog]) – The value to assign to the span_logs property of this SpanLogCollection.
- property event_name¶
Gets the event_name of this SpanLogCollection. Name of the event for which the log is created.
- Returns
The event_name of this SpanLogCollection.
- Return type
str
- property span_logs¶
Gets the span_logs of this SpanLogCollection. List of logs associated with the span at the given timestamp.
- Returns
The span_logs of this SpanLogCollection.
- Return type
- property time_created¶
Gets the time_created of this SpanLogCollection. Timestamp at which the log is created.
- Returns
The time_created of this SpanLogCollection.
- Return type
datetime