appsignal/appsignal-ruby

Rack EventHandler should listen to appsignal.action

tombruijn opened this issue · 1 comments

Same as the GenericInstrumentation or the AbstractMiddleware (from PR #1101). Make it so that the EventHandler can be used on its own.

With the different nesting of middlewares, I think it's better to suggest using Appsignal.set_action, because that sets the action name directly and appsignal.action would set it after other middlewares. Because we will want to use set_action_if_nil, that means it will be ignored.