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

Pika 有没有数据可视化管理工具? #310

Closed
llfioenig opened this issue Jul 31, 2018 · 9 comments
Closed

Pika 有没有数据可视化管理工具? #310

llfioenig opened this issue Jul 31, 2018 · 9 comments

Comments

@llfioenig
Copy link

Pika 有没有数据可视化管理工具?我尝试使用phpredisadmin,但不兼容,报如下错误:
[Tue Jul 31 06:07:17 2018] 192.168.105.63:51753 [200]: / - Uncaught Predis\Response\ServerException: ERR handle request, command 'SCAN' is not allowed in /src/app/vendor/predis/predis/src/Client.php:365
Stack trace:
#0 /src/app/vendor/predis/predis/src/Client.php(330): Predis\Client->onErrorResponse(Object(Predis\Command\KeyScan), Object(Predis\Response\Error))
#1 /src/app/vendor/predis/predis/src/Client.php(309): Predis\Client->executeCommand(Object(Predis\Command\KeyScan))
#2 /src/app/index.php(14): Predis\Client->__call('scan', Array)
#3 {main}
thrown in /src/app/vendor/predis/predis/src/Client.php on line 365

@Axlgrep
Copy link
Collaborator

Axlgrep commented Jul 31, 2018

我们自己没有推出这种工具, 但是有人用open falcon 收集数据,grafana 出监控图表, 具体的使用方式可以在我们Pika的技术交流群里问问

@llfioenig
Copy link
Author

好的,谢谢

@fancy-rabbit
Copy link
Collaborator

scan is not allowed?你连的哪儿啊

@zohead
Copy link

zohead commented Aug 9, 2018

我用 redis desktop manager,能连接服务器,但选 db 时会报错:
scan commands not supported by redis-server

用 java RedisClient 添加服务器,也会报错:
java.lang.NullPointerException
at com.cxy.redisclient.integration.JedisCommand.getRedisVersion(JedisCommand.java:108)
at com.cxy.redisclient.integration.JedisCommand.runCommand(JedisCommand.java:44)
at com.cxy.redisclient.integration.JedisCommand.execute(JedisCommand.java:34)

@fancy-rabbit
Copy link
Collaborator

选 db 本身应该不会报吧。scan 命令 pika 也支持啊
看一下具体发了哪个命令pika不支持?

@zohead
Copy link

zohead commented Aug 11, 2018

换回老版本(0.8)的 redis desktop manager 就能看到数据了,
0.9.xx 版本就是选择 db 就报错

@fancy-rabbit
Copy link
Collaborator

0.8 原来是 keys。
能帮忙看下具体发了什么命令 pika 不支持么?
按照 https://github.com/Qihoo360/pika/wiki/pika-%E6%94%AF%E6%8C%81%E7%9A%84redis%E6%8E%A5%E5%8F%A3%E5%8F%8A%E5%85%BC%E5%AE%B9%E6%83%85%E5%86%B5
,scan 命令是支持的,不知道是否有细节差异。

@zohead
Copy link

zohead commented Aug 13, 2018

redis desktop manager 点击 db 时只能看到这个:

2018-08-13 10:35:50 : Connection: pika > [runCommand] select 16
2018-08-13 10:35:50 : Connection: pika > Response received : -ERR invalid DB index

然后报 scan commands not supported by redis-server

@fancy-rabbit
Copy link
Collaborator

pika 的 select 是个空命令,而且只支持 0-15
select 16 肯定是不行。。。。

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

4 participants