mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
merge
This commit is contained in:
parent
061ad6df2c
commit
912da395c9
@ -23,7 +23,11 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
msgInsertMysqlProcessed prometheus.Counter
|
||||
// msgInsertMysqlProcessed perometheus.Countr
|
||||
msgInsertMysqlProcessed = promauto.NewCounter(prometheus.CounterOpts{
|
||||
Name: "insert_mysql_msg_total",
|
||||
Help: "The total number of msg insert mysql events",
|
||||
})
|
||||
)
|
||||
|
||||
type PersistentConsumerHandler struct {
|
||||
@ -42,7 +46,6 @@ func (pc *PersistentConsumerHandler) Init() {
|
||||
Name: "insert_mysql_msg_total",
|
||||
Help: "The total number of msg insert mysql events",
|
||||
})
|
||||
prometheus.MustRegister(msgInsertMysqlProcessed)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user