问题描述
AWS Redis 有两个与 cpu 相关的指标:cpuutilization 是一个实例使用的 cpu%,Enginecpuutilization 是一个 redis 线程使用的 cpu%。
如何将 cpuutilization 和 Enginecpuutilization 与 redis-exportor 提供的 cpu 指标进行匹配?注意 redis-exportor 提供以下指标:
redis_cpu_sys_children_seconds_total
redis_cpu_sys_seconds_total
redis_cpu_user_children_seconds_total
redis_cpu_user_seconds_total
顺便说一句,https://redis.io/commands/info 显示了 6 个指标:
used_cpu_sys: System cpu consumed by the Redis server,which is the sum of system cpu consumed by all threads of the server process (main thread and background threads)
used_cpu_user: User cpu consumed by the Redis server,which is the sum of user cpu consumed by all threads of the server process (main thread and background threads)
used_cpu_sys_children: System cpu consumed by the background processes
used_cpu_user_children: User cpu consumed by the background processes
used_cpu_sys_main_thread: System cpu consumed by the Redis server main thread
used_cpu_user_main_thread: User cpu consumed by the Redis server main thread
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)