Class: DatadogAPIClient::V2::SummarizedSpan

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/summarized_span.rb

Overview

A node in the pruned trace tree.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



67
68
69
# File 'lib/datadog_api_client/v2/models/summarized_span.rb', line 67

def additional_properties
  @additional_properties
end

#childrenObject

The child spans of this node in the pruned tree.



25
26
27
# File 'lib/datadog_api_client/v2/models/summarized_span.rb', line 25

def children
  @children
end

#duration_secondsObject

The duration of the span, in seconds.



28
29
30
# File 'lib/datadog_api_client/v2/models/summarized_span.rb', line 28

def duration_seconds
  @duration_seconds
end

#end_timeObject

The end time of the span, in RFC3339 format.



31
32
33
# File 'lib/datadog_api_client/v2/models/summarized_span.rb', line 31

def end_time
  @end_time
end

#errorObject

Error flag for a span. 1 when the span is in error, 0 otherwise.



34
35
36
# File 'lib/datadog_api_client/v2/models/summarized_span.rb', line 34

def error
  @error
end

#hidden_child_spans_countObject

The number of child spans that were pruned from this node when summarizing the trace.



37
38
39
# File 'lib/datadog_api_client/v2/models/summarized_span.rb', line 37

def hidden_child_spans_count
  @hidden_child_spans_count
end

#metaObject

String-valued tags attached to the span.



40
41
42
# File 'lib/datadog_api_client/v2/models/summarized_span.rb', line 40

def meta
  @meta
end

#metricsObject

Numeric metrics attached to the span.



43
44
45
# File 'lib/datadog_api_client/v2/models/summarized_span.rb', line 43

def metrics
  @metrics
end

#nameObject

The operation name of the span.



46
47
48
# File 'lib/datadog_api_client/v2/models/summarized_span.rb', line 46

def name
  @name
end

#parent_idObject

The ID of the parent span, or 0 when the span is the trace root.



49
50
51
# File 'lib/datadog_api_client/v2/models/summarized_span.rb', line 49

def parent_id
  @parent_id
end

#resourceObject

The resource that the span describes.



52
53
54
# File 'lib/datadog_api_client/v2/models/summarized_span.rb', line 52

def resource
  @resource
end

#serviceObject

The name of the service that emitted the span.



55
56
57
# File 'lib/datadog_api_client/v2/models/summarized_span.rb', line 55

def service
  @service
end

#span_idObject

The span ID, as an unsigned 64-bit integer.



58
59
60
# File 'lib/datadog_api_client/v2/models/summarized_span.rb', line 58

def span_id
  @span_id
end

#span_kindObject

The OpenTelemetry span kind, for example INTERNAL, SERVER, CLIENT, PRODUCER, or CONSUMER.



62
63
64
# File 'lib/datadog_api_client/v2/models/summarized_span.rb', line 62

def span_kind
  @span_kind
end

#start_timeObject

The start time of the span, in RFC3339 format.



65
66
67
# File 'lib/datadog_api_client/v2/models/summarized_span.rb', line 65

def start_time
  @start_time
end