|
@@ -85,7 +85,7 @@ func (m *RedisMonitor) loopStep() {
|
|
|
})
|
|
|
}
|
|
|
//记录日志
|
|
|
- SYSLOG("WARN", fmt.Sprintf("Redis#%d[%s]状态查询失败:%s,连接第%d次", row.Id, row.Address, err.Error(), m.logs[row.Id].FailedCount))
|
|
|
+ SYSLOG("WARN", fmt.Sprintf("Redis#%d[%s]状态查询失败:%s,连接第%d次", row.Id, row.Address, info.Error, m.logs[row.Id].FailedCount))
|
|
|
} else {
|
|
|
var usedMemory, maxMemory, systemMemory, connections, qps, evictedKeys, eviIncreased int
|
|
|
//已用内存
|