mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-06-03 06:01:30 +08:00
prometheus for statistics
This commit is contained in:
parent
6759e0c25b
commit
d26076c0e4
@ -135,7 +135,6 @@ func (d *DataBases) BatchInsertChat2Cache(insertID string, msgList []*pbMsg.MsgD
|
|||||||
return utils.Wrap(err, ""), 0
|
return utils.Wrap(err, ""), 0
|
||||||
}
|
}
|
||||||
promePkg.PromeInc(promePkg.SeqGetSuccessCounter)
|
promePkg.PromeInc(promePkg.SeqGetSuccessCounter)
|
||||||
promePkg.SeqGetSuccessCounter.Inc()
|
|
||||||
|
|
||||||
lastMaxSeq := currentMaxSeq
|
lastMaxSeq := currentMaxSeq
|
||||||
for _, m := range msgList {
|
for _, m := range msgList {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user