Class: DatadogAPIClient::V2::APMTraceSpan

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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

#durationObject

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_timeObject

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

#errorObject

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

#metaObject

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
  @meta
end

#metricsObject

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

#nameObject

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_idObject

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

#resourceObject

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_hashObject

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

#restrictedObject

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_timeObject

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

#serviceObject

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_idObject

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_timeObject

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_idObject

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_fullObject

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

#typeObject

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