pull/351/head
wangchuxiao 2 years ago
parent ea38953b47
commit 189d5aed69

@ -80,7 +80,7 @@ func (pc *PersistentConsumerHandler) handleChatWs2Mysql(cMsg *sarama.ConsumerMes
} }
msgInsertMysqlProcessed.Inc() msgInsertMysqlProcessed.Inc()
if config.Config.Prometheus.Enable { if config.Config.Prometheus.Enable {
log.NewDebug(msgFromMQ.OperationID, utils.GetSelfFuncName(), "inc msgInsertMysqlProcessed", msgInsertMysqlProcessed.Desc()) log.NewDebug(msgFromMQ.OperationID, utils.GetSelfFuncName(), "inc msgInsertMysqlProcessed")
msgInsertMysqlProcessed.Inc() msgInsertMysqlProcessed.Inc()
} }
} }

Loading…
Cancel
Save