Method: Sentry::Span#transaction

Defined in:
lib/sentry/span.rb

#transactionTransaction (readonly)

The Transaction object the Span belongs to. Every span needs to be attached to a Transaction and their child spans will also inherit the same transaction.

Returns:



115
116
117
# File 'lib/sentry/span.rb', line 115

def transaction
  @transaction
end