This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-go.git
The following commit(s) were added to refs/heads/main by this push:
new 275ec01 fix: add redis rw operation (#152)
275ec01 is described below
commit 275ec010cacf3d68f9cab83837e9fff3df072916
Author: fengyun.rui <[email protected]>
AuthorDate: Wed Nov 29 13:21:03 2023 +0800
fix: add redis rw operation (#152)
Signed-off-by: rfyiamcool <[email protected]>
---
plugins/go-redisv9/op_type.go | 3 +++
1 file changed, 3 insertions(+)
diff --git a/plugins/go-redisv9/op_type.go b/plugins/go-redisv9/op_type.go
index 1a62389..9febad0 100644
--- a/plugins/go-redisv9/op_type.go
+++ b/plugins/go-redisv9/op_type.go
@@ -90,12 +90,15 @@ var writeOperation = map[string]bool{
}
var readOperation = map[string]bool{
+ "keys": true,
+ "scan": true,
"getrange": true,
"getbit": true,
"mget": true,
"hvals": true,
"hkeys": true,
"hlen": true,
+ "hscan": true,
"hexists": true,
"hget": true,
"hgetall": true,