prometheus for statistics

pull/351/head
skiffer-git 2 years ago
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…
Cancel
Save