You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's recommend people use Appsignal.set_action. Especially after the refactor in #329, it will make setting the action name more predictable, as set_action sets the name straight away. The request env keys would set it later.
The text was updated successfully, but these errors were encountered:
Configuring the action name with the request env keys `appsignal.action`
and `appsignal.route` don't give a reasonable guarantee when the action
name is set. The `Appsignal.set_action` helper sets the action name
immediately.
The method via the request env sets the action name using
`set_action_if_nil`. If the action name is set by one of our
instrumentations beforehand or another `Appsiganl.set_action` call,
there's no guarantee this value is used as the action name.
We also never documented either of these keys, so I don't expect a lot
of people to be using them.
Closes#1116
Let's recommend people use
Appsignal.set_action
. Especially after the refactor in #329, it will make setting the action name more predictable, asset_action
sets the name straight away. The request env keys would set it later.The text was updated successfully, but these errors were encountered: