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

Fix overwriting the transaction name if it's set by the user #442

Merged
merged 3 commits into from
Jan 23, 2021

Conversation

stayallive
Copy link
Collaborator

This hopefully fixes #439.

We wait until the last moment with setting the transaction name so the user can set it in their application flow, we only set the transaction name in the terminating state of the middleware (after the user request) and check first if the transaction name is the default before setting it to prevent overwriting the user value.

@stayallive stayallive requested a review from HazAT January 22, 2021 08:21
@stayallive stayallive self-assigned this Jan 22, 2021
@stayallive stayallive changed the title Do not overwrite the transaction name if it's set Fix overwriting the transaction name if it's set by the user Jan 22, 2021
@stayallive stayallive merged commit be9658a into master Jan 23, 2021
@stayallive stayallive deleted the feature/fix-unable-to-override-transaction-name branch January 23, 2021 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for customize transaction name for performance trace
1 participant