Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate the request env keys to set the action #1155

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

tombruijn
Copy link
Member

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

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
@backlog-helper
Copy link

backlog-helper bot commented Jul 8, 2024


This is a message from the daily scheduled checks.

New issue guide | Backlog management | Rules | Feedback

@tombruijn tombruijn merged commit 1e6d0b3 into main Jul 8, 2024
117 checks passed
@tombruijn tombruijn deleted the deprecate-request-env-action branch July 10, 2024 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate appsignal.route and appsignal.action request keys
3 participants