Class: DatadogAPIClient::V2::SpansAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::SpansAttributes
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#attributes ⇒ Object
JSON object of attributes from your span.
-
#custom ⇒ Object
JSON object of custom spans data.
-
#end_timestamp ⇒ Object
End timestamp of your span.
-
#env ⇒ Object
Name of the environment from where the spans are being sent.
-
#host ⇒ Object
Name of the machine from where the spans are being sent.
-
#ingestion_reason ⇒ Object
The reason why the span was ingested.
-
#parent_id ⇒ Object
Id of the span that’s parent of this span.
-
#resource_hash ⇒ Object
Unique identifier of the resource.
-
#resource_name ⇒ Object
The name of the resource.
-
#retained_by ⇒ Object
The reason why the span was indexed.
-
#service ⇒ Object
The name of the application or service generating the span events.
-
#single_span ⇒ Object
Whether or not the span was collected as a stand-alone span.
-
#span_id ⇒ Object
Id of the span.
-
#start_timestamp ⇒ Object
Start timestamp of your span.
-
#tags ⇒ Object
Array of tags associated with your span.
-
#trace_id ⇒ Object
Id of the trace to which the span belongs.
-
#type ⇒ Object
The type of the span.
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/spans_attributes.rb', line 77 def additional_properties @additional_properties end |
#attributes ⇒ Object
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 |
#custom ⇒ Object
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_timestamp ⇒ Object
End timestamp of your span.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/spans_attributes.rb', line 31 def @end_timestamp end |
#env ⇒ Object
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 |
#host ⇒ Object
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_reason ⇒ Object
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_id ⇒ Object
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_hash ⇒ Object
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_name ⇒ Object
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_by ⇒ Object
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 |
#service ⇒ Object
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_span ⇒ Object
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_id ⇒ Object
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_timestamp ⇒ Object
Start timestamp of your span.
66 67 68 |
# File 'lib/datadog_api_client/v2/models/spans_attributes.rb', line 66 def @start_timestamp end |
#tags ⇒ Object
Array of tags associated with your span.
69 70 71 |
# File 'lib/datadog_api_client/v2/models/spans_attributes.rb', line 69 def @tags end |
#trace_id ⇒ Object
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 |
#type ⇒ Object
The type of the span.
75 76 77 |
# File 'lib/datadog_api_client/v2/models/spans_attributes.rb', line 75 def type @type end |