-
Notifications
You must be signed in to change notification settings - Fork 2.6k
SLOWLOG GET Complexity Analysis #622
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
Conversation
+1 for this. We use the complexity info a lot and had to customize our python parsing for this. |
+1 for this. |
Any updates here? @andymccurdy |
The [Garantia Data custom Redis version (Redis Labs' flavor)](https://github.com/RedisLabs/redis) returns `Complexity Info` as part of the `SLOWLOG GET` result. This commit helps handle those responses properly.
Testing the Garantia Data custom Redis result that includes complexity analysis Specifically, if the user's Redis instance isn't Garantia Data flavored, this test monkey patches `parse_response()` to include the complexity analysis part of the response the same way they do, and then tests for the expected response
@andymccurdy Any progress on this? |
This pull request is marked stale. It will be closed in 30 days if it is not updated. |
This fix won't work on open-source Redis version 4+, since 2 new fields were added. |
This pull request is marked stale. It will be closed in 30 days if it is not updated. |
The Garantia Data custom Redis version (Redis Labs' flavor) returns
Complexity info
as part of theSLOWLOG GET
result (see here).This pull request parses that data out and handles those responses properly.
Test included.