Class: DatadogAPIClient::V2::SummarizedSpan
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::SummarizedSpan
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#children ⇒ Object
readonly
The child spans of this node in the pruned tree.
-
#duration_seconds ⇒ Object
readonly
The duration of the span, in seconds.
-
#end_time ⇒ Object
readonly
The end time of the span, in RFC3339 format.
-
#error ⇒ Object
readonly
Error flag for a span.
-
#hidden_child_spans_count ⇒ Object
readonly
The number of child spans that were pruned from this node when summarizing the trace.
-
#meta ⇒ Object
readonly
String-valued tags attached to the span.
-
#metrics ⇒ Object
readonly
Numeric metrics attached to the span.
-
#name ⇒ Object
readonly
The operation name of the span.
-
#parent_id ⇒ Object
readonly
The ID of the parent span, or
0when the span is the trace root. -
#resource ⇒ Object
readonly
The resource that the span describes.
-
#service ⇒ Object
readonly
The name of the service that emitted the span.
-
#span_id ⇒ Object
readonly
The span ID, as an unsigned 64-bit integer.
-
#span_kind ⇒ Object
readonly
The OpenTelemetry span kind, for example
INTERNAL,SERVER,CLIENT,PRODUCER, orCONSUMER. -
#start_time ⇒ Object
readonly
The start time of the span, in RFC3339 format.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
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 |
#children ⇒ Object
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_seconds ⇒ Object
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_time ⇒ Object
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 |
#error ⇒ Object
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_count ⇒ Object
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 |
#meta ⇒ Object
String-valued tags attached to the span.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/summarized_span.rb', line 40 def @meta end |
#metrics ⇒ Object
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 |
#name ⇒ Object
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_id ⇒ Object
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 |
#resource ⇒ Object
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 |
#service ⇒ Object
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_id ⇒ Object
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_kind ⇒ Object
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_time ⇒ Object
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 |