Class: Appsignal::Transaction::OpenTelemetryBackend::EventFrame
- Defined in:
- lib/appsignal/transaction/opentelemetry_backend.rb
Overview
One open event on the event stack. Holds the OpenTelemetry span and the
context token attached for it, plus the allocation bookkeeping for the
event. allocation_start is the allocation counter when the event began
(nil when allocation tracking is off), and child_allocation_count
accumulates the full allocation counts of the event's finished children,
so the event's own allocations are full - child_allocation_count.
db_system_name_set tracks whether the event itself already set
db.system.name (through set_attributes) before it finishes, so the
SQL sentinel written at finish only fills in a value that is missing.
Instance Attribute Summary collapse
-
#allocation_start ⇒ Object
Returns the value of attribute allocation_start.
-
#child_allocation_count ⇒ Object
Returns the value of attribute child_allocation_count.
-
#db_system_name_set ⇒ Object
Returns the value of attribute db_system_name_set.
-
#span ⇒ Object
Returns the value of attribute span.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Attribute Details
#allocation_start ⇒ Object
Returns the value of attribute allocation_start
104 105 106 |
# File 'lib/appsignal/transaction/opentelemetry_backend.rb', line 104 def allocation_start @allocation_start end |
#child_allocation_count ⇒ Object
Returns the value of attribute child_allocation_count
104 105 106 |
# File 'lib/appsignal/transaction/opentelemetry_backend.rb', line 104 def child_allocation_count @child_allocation_count end |
#db_system_name_set ⇒ Object
Returns the value of attribute db_system_name_set
104 105 106 |
# File 'lib/appsignal/transaction/opentelemetry_backend.rb', line 104 def db_system_name_set @db_system_name_set end |
#span ⇒ Object
Returns the value of attribute span
104 105 106 |
# File 'lib/appsignal/transaction/opentelemetry_backend.rb', line 104 def span @span end |
#token ⇒ Object
Returns the value of attribute token
104 105 106 |
# File 'lib/appsignal/transaction/opentelemetry_backend.rb', line 104 def token @token end |