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

redis API: support commands_duration_seconds_total #977

Closed
zhaochunxue opened this issue Nov 4, 2020 · 5 comments · Fixed by #1660
Closed

redis API: support commands_duration_seconds_total #977

zhaochunxue opened this issue Nov 4, 2020 · 5 comments · Fixed by #1660

Comments

@zhaochunxue
Copy link

zhaochunxue commented Nov 4, 2020

pika是否存在commands_duration_seconds_total可以查询命令执行时间的参数

pika的info all里边只有命令的执行的总数量,有没有哪个版本添加了和redis的redis_commands_duration_seconds_total这个参数一样的,计算命令时间的参数,想在监控里边加上单条命令执行的时间,这样方便查看执行超时的命令

@zhugaojian
Copy link

如果加上这个,就能看各类命令的耗时分布了,像redis一样

@zhaochunxue
Copy link
Author

如果加上这个,就能看各类命令的耗时分布了,像redis一样

是的,我也是这个目的

@wanghenshui
Copy link
Collaborator

这个可以加

@wanghenshui wanghenshui changed the title pika是否存在commands_duration_seconds_total可以查询命令执行时间的参数 redis API: support commands_duration_seconds_total Feb 22, 2023
@wanghenshui wanghenshui mentioned this issue Feb 22, 2023
78 tasks
@AlexStocks
Copy link
Collaborator

AlexStocks commented Apr 29, 2023

@Mixficsol

@AlexStocks
Copy link
Collaborator

        * 0603 参考 todis 对命令耗时的监控,https://github.com/topling/todis
        * 0624 显荣继续跟进
        * 0701 提PR https://github.com/OpenAtomFoundation/pika/pull/1660 之后在grafana上显示

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

Successfully merging a pull request may close this issue.

4 participants