Update Sentry's op
name (required for sentry-rails 5.6.0+
See https://github.com/getsentry/sentry-ruby/releases/tag/5.6.0
This commit is contained in:
@ -24,7 +24,7 @@ Sentry.init do |config|
|
||||
transaction_name = transaction_context[:name]
|
||||
|
||||
case op
|
||||
when /request/
|
||||
when /http/
|
||||
# for Rails applications, transaction_name would be the request's path (env["PATH_INFO"]) instead of "Controller#action"
|
||||
case transaction_name
|
||||
when '/', '/ping'
|
||||
|
Reference in New Issue
Block a user