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

SQL queries are not profiled for Non-Rails Applications if rails patch is not enabled #614

Open
suryanarayanan035 opened this issue Jun 2, 2024 · 1 comment

Comments

@suryanarayanan035
Copy link

Hello there,
I found that the SQL queries are not being filtered if we didn't enable rails patch.
I am building a application using Rack Builder and I find no reason enable rails patch.
So, I think we can remove the condition which checks for rails patch to enable SQL patches.
Let me know If anyone have any concerns, else I will raise a PR for the same.

sql_patches function

@suryanarayanan035
Copy link
Author

Hello Guys, can someone please review the PR? This PR helps in enabling SQL profiling in non rails applications without any workarounds.

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

No branches or pull requests

1 participant