Method: Sentry::Rails::ActionCableExtensions::ErrorHandler.start_transaction
- Defined in:
- lib/sentry/rails/action_cable.rb
.start_transaction(env, scope) ⇒ Object
38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/sentry/rails/action_cable.rb', line 38 def start_transaction(env, scope) = { name: scope.transaction_name, source: scope.transaction_source, op: OP_NAME, origin: SPAN_ORIGIN } transaction = Sentry.continue_trace(env, **) Sentry.start_transaction(transaction: transaction, **) end |