|
|
|
@ -23,7 +23,7 @@ public interface RedisConvert {
|
|
|
|
respVO.getCommandStats().add(InfRedisMonitorRespVO.CommandStat.builder()
|
|
|
|
respVO.getCommandStats().add(InfRedisMonitorRespVO.CommandStat.builder()
|
|
|
|
.command(StrUtil.subAfter((String) key, "cmdstat_", false))
|
|
|
|
.command(StrUtil.subAfter((String) key, "cmdstat_", false))
|
|
|
|
.calls(Integer.valueOf(StrUtil.subBetween((String) value, "calls=", ",")))
|
|
|
|
.calls(Integer.valueOf(StrUtil.subBetween((String) value, "calls=", ",")))
|
|
|
|
.usec(Integer.valueOf(StrUtil.subBetween((String) value, "usec=", ",")))
|
|
|
|
.usec(Long.valueOf(StrUtil.subBetween((String) value, "usec=", ",")))
|
|
|
|
.build());
|
|
|
|
.build());
|
|
|
|
});
|
|
|
|
});
|
|
|
|
return respVO;
|
|
|
|
return respVO;
|
|
|
|
|