From 189d5aed698ae957b5d3a4fe8ba185418701c49d Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Fri, 9 Sep 2022 17:02:23 +0800 Subject: [PATCH] promethues --- internal/msg_transfer/logic/persistent_msg_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/msg_transfer/logic/persistent_msg_handler.go b/internal/msg_transfer/logic/persistent_msg_handler.go index d67c62c41..9c7fd38ad 100644 --- a/internal/msg_transfer/logic/persistent_msg_handler.go +++ b/internal/msg_transfer/logic/persistent_msg_handler.go @@ -80,7 +80,7 @@ func (pc *PersistentConsumerHandler) handleChatWs2Mysql(cMsg *sarama.ConsumerMes } msgInsertMysqlProcessed.Inc() 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() } }