Method: Sentry::Scope#set_transaction_name

Defined in:
lib/sentry/scope.rb

#set_transaction_name(transaction_name, source: :custom) ⇒ void

This method returns an undefined value.

Appends a new transaction name to the scope. The “transaction” here does not refer to Transaction objects.

Parameters:

  • transaction_name (String)


269
270
271
272
# File 'lib/sentry/scope.rb', line 269

def set_transaction_name(transaction_name, source: :custom)
  @transaction_name = transaction_name
  @transaction_source = source
end