Class: OpenTelemetry::SDK::Trace::SpanData
- Inherits:
-
Struct
- Object
- Struct
- OpenTelemetry::SDK::Trace::SpanData
- Defined in:
- lib/opentelemetry/sdk/trace/span_data.rb
Overview
SpanData is a Struct containing Span data for export.
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#child_count ⇒ Object
Returns the value of attribute child_count.
-
#end_timestamp ⇒ Object
Returns the value of attribute end_timestamp.
-
#events ⇒ Object
Returns the value of attribute events.
-
#instrumentation_library ⇒ Object
Returns the value of attribute instrumentation_library.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#library_resource ⇒ Object
Returns the value of attribute library_resource.
-
#links ⇒ Object
Returns the value of attribute links.
-
#name ⇒ Object
Returns the value of attribute name.
-
#parent_span_id ⇒ Object
Returns the value of attribute parent_span_id.
-
#span_id ⇒ Object
Returns the value of attribute span_id.
-
#start_timestamp ⇒ Object
Returns the value of attribute start_timestamp.
-
#status ⇒ Object
Returns the value of attribute status.
-
#total_recorded_attributes ⇒ Object
Returns the value of attribute total_recorded_attributes.
-
#total_recorded_events ⇒ Object
Returns the value of attribute total_recorded_events.
-
#total_recorded_links ⇒ Object
Returns the value of attribute total_recorded_links.
-
#trace_flags ⇒ Object
Returns the value of attribute trace_flags.
-
#trace_id ⇒ Object
Returns the value of attribute trace_id.
-
#tracestate ⇒ Object
Returns the value of attribute tracestate.
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes
13 14 15 |
# File 'lib/opentelemetry/sdk/trace/span_data.rb', line 13 def attributes @attributes end |
#child_count ⇒ Object
Returns the value of attribute child_count
13 14 15 |
# File 'lib/opentelemetry/sdk/trace/span_data.rb', line 13 def child_count @child_count end |
#end_timestamp ⇒ Object
Returns the value of attribute end_timestamp
13 14 15 |
# File 'lib/opentelemetry/sdk/trace/span_data.rb', line 13 def @end_timestamp end |
#events ⇒ Object
Returns the value of attribute events
13 14 15 |
# File 'lib/opentelemetry/sdk/trace/span_data.rb', line 13 def events @events end |
#instrumentation_library ⇒ Object
Returns the value of attribute instrumentation_library
13 14 15 |
# File 'lib/opentelemetry/sdk/trace/span_data.rb', line 13 def instrumentation_library @instrumentation_library end |
#kind ⇒ Object
Returns the value of attribute kind
13 14 15 |
# File 'lib/opentelemetry/sdk/trace/span_data.rb', line 13 def kind @kind end |
#library_resource ⇒ Object
Returns the value of attribute library_resource
13 14 15 |
# File 'lib/opentelemetry/sdk/trace/span_data.rb', line 13 def library_resource @library_resource end |
#links ⇒ Object
Returns the value of attribute links
13 14 15 |
# File 'lib/opentelemetry/sdk/trace/span_data.rb', line 13 def links @links end |
#name ⇒ Object
Returns the value of attribute name
13 14 15 |
# File 'lib/opentelemetry/sdk/trace/span_data.rb', line 13 def name @name end |
#parent_span_id ⇒ Object
Returns the value of attribute parent_span_id
13 14 15 |
# File 'lib/opentelemetry/sdk/trace/span_data.rb', line 13 def parent_span_id @parent_span_id end |
#span_id ⇒ Object
Returns the value of attribute span_id
13 14 15 |
# File 'lib/opentelemetry/sdk/trace/span_data.rb', line 13 def span_id @span_id end |
#start_timestamp ⇒ Object
Returns the value of attribute start_timestamp
13 14 15 |
# File 'lib/opentelemetry/sdk/trace/span_data.rb', line 13 def @start_timestamp end |
#status ⇒ Object
Returns the value of attribute status
13 14 15 |
# File 'lib/opentelemetry/sdk/trace/span_data.rb', line 13 def status @status end |
#total_recorded_attributes ⇒ Object
Returns the value of attribute total_recorded_attributes
13 14 15 |
# File 'lib/opentelemetry/sdk/trace/span_data.rb', line 13 def total_recorded_attributes @total_recorded_attributes end |
#total_recorded_events ⇒ Object
Returns the value of attribute total_recorded_events
13 14 15 |
# File 'lib/opentelemetry/sdk/trace/span_data.rb', line 13 def total_recorded_events @total_recorded_events end |
#total_recorded_links ⇒ Object
Returns the value of attribute total_recorded_links
13 14 15 |
# File 'lib/opentelemetry/sdk/trace/span_data.rb', line 13 def total_recorded_links @total_recorded_links end |
#trace_flags ⇒ Object
Returns the value of attribute trace_flags
13 14 15 |
# File 'lib/opentelemetry/sdk/trace/span_data.rb', line 13 def trace_flags @trace_flags end |
#trace_id ⇒ Object
Returns the value of attribute trace_id
13 14 15 |
# File 'lib/opentelemetry/sdk/trace/span_data.rb', line 13 def trace_id @trace_id end |
#tracestate ⇒ Object
Returns the value of attribute tracestate
13 14 15 |
# File 'lib/opentelemetry/sdk/trace/span_data.rb', line 13 def tracestate @tracestate end |