SpanSnapshot

class oci.apm_traces.models.SpanSnapshot(**kwargs)

Bases: object

Definition of a span snapshot object.

Methods

__init__(**kwargs) Initializes a new SpanSnapshot object with values from keyword arguments.

Attributes

children Gets the children of this SpanSnapshot.
key [Required] Gets the key of this SpanSnapshot.
span_name Gets the span_name of this SpanSnapshot.
span_snapshot_details Gets the span_snapshot_details of this SpanSnapshot.
thread_snapshots Gets the thread_snapshots of this SpanSnapshot.
time_ended [Required] Gets the time_ended of this SpanSnapshot.
time_started [Required] Gets the time_started of this SpanSnapshot.
__init__(**kwargs)

Initializes a new SpanSnapshot object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • key (str) – The value to assign to the key property of this SpanSnapshot.
  • span_name (str) – The value to assign to the span_name property of this SpanSnapshot.
  • time_started (datetime) – The value to assign to the time_started property of this SpanSnapshot.
  • time_ended (datetime) – The value to assign to the time_ended property of this SpanSnapshot.
  • span_snapshot_details (list[oci.apm_traces.models.SnapshotDetail]) – The value to assign to the span_snapshot_details property of this SpanSnapshot.
  • thread_snapshots (list[oci.apm_traces.models.ThreadSnapshot]) – The value to assign to the thread_snapshots property of this SpanSnapshot.
  • children (list[oci.apm_traces.models.SpanSnapshot]) – The value to assign to the children property of this SpanSnapshot.
children

Gets the children of this SpanSnapshot. An array of child span snapshots.

Returns:The children of this SpanSnapshot.
Return type:list[oci.apm_traces.models.SpanSnapshot]
key

[Required] Gets the key of this SpanSnapshot. Unique identifier (spanId) for the trace span.

Returns:The key of this SpanSnapshot.
Return type:str
span_name

Gets the span_name of this SpanSnapshot. Span name associated with the trace.

Returns:The span_name of this SpanSnapshot.
Return type:str
span_snapshot_details

Gets the span_snapshot_details of this SpanSnapshot. Span snapshots properties.

Returns:The span_snapshot_details of this SpanSnapshot.
Return type:list[oci.apm_traces.models.SnapshotDetail]
thread_snapshots

Gets the thread_snapshots of this SpanSnapshot. Thread snapshots.

Returns:The thread_snapshots of this SpanSnapshot.
Return type:list[oci.apm_traces.models.ThreadSnapshot]
time_ended

[Required] Gets the time_ended of this SpanSnapshot. End time of the span.

Returns:The time_ended of this SpanSnapshot.
Return type:datetime
time_started

[Required] Gets the time_started of this SpanSnapshot. Start time of the span.

Returns:The time_started of this SpanSnapshot.
Return type:datetime