Class: Sashiko::Ractor::SpanEvent
- Inherits:
-
Data
- Object
- Data
- Sashiko::Ractor::SpanEvent
- Defined in:
- lib/sashiko/ractor.rb
Overview
Immutable record of a span that occurred inside a Ractor. Replayed on the main Ractor as an OTel span with these exact values.
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#end_ns ⇒ Object
readonly
Returns the value of attribute end_ns.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#parent_id ⇒ Object
readonly
Returns the value of attribute parent_id.
-
#start_ns ⇒ Object
readonly
Returns the value of attribute start_ns.
-
#status_error ⇒ Object
readonly
Returns the value of attribute status_error.
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes
24 25 26 |
# File 'lib/sashiko/ractor.rb', line 24 def attributes @attributes end |
#end_ns ⇒ Object (readonly)
Returns the value of attribute end_ns
24 25 26 |
# File 'lib/sashiko/ractor.rb', line 24 def end_ns @end_ns end |
#id ⇒ Object (readonly)
Returns the value of attribute id
24 25 26 |
# File 'lib/sashiko/ractor.rb', line 24 def id @id end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
24 25 26 |
# File 'lib/sashiko/ractor.rb', line 24 def kind @kind end |
#name ⇒ Object (readonly)
Returns the value of attribute name
24 25 26 |
# File 'lib/sashiko/ractor.rb', line 24 def name @name end |
#parent_id ⇒ Object (readonly)
Returns the value of attribute parent_id
24 25 26 |
# File 'lib/sashiko/ractor.rb', line 24 def parent_id @parent_id end |
#start_ns ⇒ Object (readonly)
Returns the value of attribute start_ns
24 25 26 |
# File 'lib/sashiko/ractor.rb', line 24 def start_ns @start_ns end |
#status_error ⇒ Object (readonly)
Returns the value of attribute status_error
24 25 26 |
# File 'lib/sashiko/ractor.rb', line 24 def status_error @status_error end |