Class: DatadogAPIClient::V2::APMTraceSpan
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::APMTraceSpan
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/apm_trace_span.rb
Overview
A single APM span returned as part of a trace.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#duration ⇒ Object
readonly
The duration of the span, in nanoseconds.
-
#end_time ⇒ Object
readonly
The end time of the span, in Unix nanoseconds.
-
#error ⇒ Object
readonly
Error flag for a span.
-
#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 a trace root. -
#resource ⇒ Object
readonly
The resource that the span describes.
-
#resource_hash ⇒ Object
A hash of the resource field.
-
#restricted ⇒ Object
Whether access to the span is restricted by the organization's data access policies.
-
#self_time ⇒ Object
The time spent in the span itself, excluding time spent in child spans, in nanoseconds.
-
#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.
-
#start_time ⇒ Object
readonly
The start time of the span, in Unix nanoseconds.
-
#trace_id ⇒ Object
readonly
The lower 64 bits of the trace ID, as an unsigned 64-bit integer.
-
#trace_id_full ⇒ Object
readonly
The full 128-bit trace ID, encoded as a 32-character hexadecimal string.
-
#type ⇒ Object
readonly
The type of the span (for example,
web,db, orrpc).
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
77 78 79 |
# File 'lib/datadog_api_client/v2/models/apm_trace_span.rb', line 77 def additional_properties @additional_properties end |
#duration ⇒ Object
The duration of the span, in nanoseconds.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/apm_trace_span.rb', line 25 def duration @duration end |
#end_time ⇒ Object
The end time of the span, in Unix nanoseconds.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/apm_trace_span.rb', line 28 def end_time @end_time end |
#error ⇒ Object
Error flag for a span. 1 when the span is in error, 0 otherwise.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/apm_trace_span.rb', line 31 def error @error end |
#meta ⇒ Object
String-valued tags attached to the span. Tag keys starting with _ are
filtered out of the response.
35 36 37 |
# File 'lib/datadog_api_client/v2/models/apm_trace_span.rb', line 35 def @meta end |
#metrics ⇒ Object
Numeric metrics attached to the span. Metric keys starting with _ are
filtered out of the response.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/apm_trace_span.rb', line 39 def metrics @metrics end |
#name ⇒ Object
The operation name of the span.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/apm_trace_span.rb', line 42 def name @name end |
#parent_id ⇒ Object
The ID of the parent span, or 0 when the span is a trace root.
45 46 47 |
# File 'lib/datadog_api_client/v2/models/apm_trace_span.rb', line 45 def parent_id @parent_id end |
#resource ⇒ Object
The resource that the span describes.
48 49 50 |
# File 'lib/datadog_api_client/v2/models/apm_trace_span.rb', line 48 def resource @resource end |
#resource_hash ⇒ Object
A hash of the resource field.
51 52 53 |
# File 'lib/datadog_api_client/v2/models/apm_trace_span.rb', line 51 def resource_hash @resource_hash end |
#restricted ⇒ Object
Whether access to the span is restricted by the organization's data access policies.
54 55 56 |
# File 'lib/datadog_api_client/v2/models/apm_trace_span.rb', line 54 def restricted @restricted end |
#self_time ⇒ Object
The time spent in the span itself, excluding time spent in child spans, in nanoseconds.
57 58 59 |
# File 'lib/datadog_api_client/v2/models/apm_trace_span.rb', line 57 def self_time @self_time end |
#service ⇒ Object
The name of the service that emitted the span.
60 61 62 |
# File 'lib/datadog_api_client/v2/models/apm_trace_span.rb', line 60 def service @service end |
#span_id ⇒ Object
The span ID, as an unsigned 64-bit integer.
63 64 65 |
# File 'lib/datadog_api_client/v2/models/apm_trace_span.rb', line 63 def span_id @span_id end |
#start_time ⇒ Object
The start time of the span, in Unix nanoseconds.
66 67 68 |
# File 'lib/datadog_api_client/v2/models/apm_trace_span.rb', line 66 def start_time @start_time end |
#trace_id ⇒ Object
The lower 64 bits of the trace ID, as an unsigned 64-bit integer.
69 70 71 |
# File 'lib/datadog_api_client/v2/models/apm_trace_span.rb', line 69 def trace_id @trace_id end |
#trace_id_full ⇒ Object
The full 128-bit trace ID, encoded as a 32-character hexadecimal string.
72 73 74 |
# File 'lib/datadog_api_client/v2/models/apm_trace_span.rb', line 72 def trace_id_full @trace_id_full end |
#type ⇒ Object
The type of the span (for example, web, db, or rpc).
75 76 77 |
# File 'lib/datadog_api_client/v2/models/apm_trace_span.rb', line 75 def type @type end |