Class: DatadogAPIClient::V2::SpansAttributes

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

Overview

JSON object containing all span attributes and their associated values.

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/spans_attributes.rb', line 77

def additional_properties
  @additional_properties
end

#attributesObject

JSON object of attributes from your span.



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

def attributes
  @attributes
end

#customObject

JSON object of custom spans data.



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

def custom
  @custom
end

#end_timestampObject

End timestamp of your span.



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

def end_timestamp
  @end_timestamp
end

#envObject

Name of the environment from where the spans are being sent.



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

def env
  @env
end

#hostObject

Name of the machine from where the spans are being sent.



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

def host
  @host
end

#ingestion_reasonObject

The reason why the span was ingested.



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

def ingestion_reason
  @ingestion_reason
end

#parent_idObject

Id of the span that's parent of this span.



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

def parent_id
  @parent_id
end

#resource_hashObject

Unique identifier of the resource.



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

def resource_hash
  @resource_hash
end

#resource_nameObject

The name of the resource.



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

def resource_name
  @resource_name
end

#retained_byObject

The reason why the span was indexed.



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

def retained_by
  @retained_by
end

#serviceObject

The name of the application or service generating the span events. It is used to switch from APM to Logs, so make sure you define the same value when you use both products.



57
58
59
# File 'lib/datadog_api_client/v2/models/spans_attributes.rb', line 57

def service
  @service
end

#single_spanObject

Whether or not the span was collected as a stand-alone span. Always associated to "single_span" ingestion_reason if true.



60
61
62
# File 'lib/datadog_api_client/v2/models/spans_attributes.rb', line 60

def single_span
  @single_span
end

#span_idObject

Id of the span.



63
64
65
# File 'lib/datadog_api_client/v2/models/spans_attributes.rb', line 63

def span_id
  @span_id
end

#start_timestampObject

Start timestamp of your span.



66
67
68
# File 'lib/datadog_api_client/v2/models/spans_attributes.rb', line 66

def start_timestamp
  @start_timestamp
end

#tagsObject

Array of tags associated with your span.



69
70
71
# File 'lib/datadog_api_client/v2/models/spans_attributes.rb', line 69

def tags
  @tags
end

#trace_idObject

Id of the trace to which the span belongs.



72
73
74
# File 'lib/datadog_api_client/v2/models/spans_attributes.rb', line 72

def trace_id
  @trace_id
end

#typeObject

The type of the span.



75
76
77
# File 'lib/datadog_api_client/v2/models/spans_attributes.rb', line 75

def type
  @type
end