-
Notifications
You must be signed in to change notification settings - Fork 39
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
refactor: optimized logic for identifying if the database is Redis from the query #931
refactor: optimized logic for identifying if the database is Redis from the query #931
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job with the code refactoring, Angith! 🎉
I have just added a few comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Angith Please check my review comments. We can discuss if you have any queries.
Co-authored-by: sanoj subran <sanoj.subran@ibm.com>
Co-authored-by: sanoj subran <sanoj.subran@ibm.com>
Co-authored-by: sanoj subran <sanoj.subran@ibm.com>
The usage of regular expressions imposes performance overhead on SQL span creation. This PR consists of the change for a solution to that. Here a map is used to check if the span is created for the Redis database.