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 Laravel Lumen txn naming #135

Merged
merged 1 commit into from
Apr 15, 2021

Conversation

Fahmy-Mohammed
Copy link
Contributor

@Fahmy-Mohammed Fahmy-Mohammed commented Apr 15, 2021

This fixes transaction naming for Laravel Lumen and adds a bit of cleanup.

@@ -36,6 +36,8 @@ static int nr_lumen_name_the_wt(const char* name TSRMLS_DC,
} else {
path += 1;
}
} else {
path = name;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed otherwise the path is NULL when strip_base is set to false

Copy link
Contributor

@zsistla zsistla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix, thanks!

@Fahmy-Mohammed
Copy link
Contributor Author

Looks like the build failure is due to the 2 redis test failure that will be fixed soon. This should be good for a merge after another review 👍🏾

@Fahmy-Mohammed Fahmy-Mohammed merged commit 2e44207 into newrelic:dev Apr 15, 2021
@Fahmy-Mohammed Fahmy-Mohammed deleted the laravel_lumen_fix branch April 15, 2021 22:30
joshuabenuck pushed a commit that referenced this pull request Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PHP 8: Test that the agent works with frameworks that support PHP 8
3 participants