mirror of https://github.com/milvus-io/milvus.git
fix: streaming metrics do not clear (#36701)
issue: #33285 Signed-off-by: chyezh <chyezh@outlook.com>pull/36726/head
parent
130a923dec
commit
efb10d3b86
|
@ -60,6 +60,7 @@ func (m *SegmentAssignMetrics) UpdateCollectionCount(cnt int) {
|
|||
func (m *SegmentAssignMetrics) Close() {
|
||||
metrics.WALSegmentAllocTotal.DeletePartialMatch(m.constLabel)
|
||||
metrics.WALSegmentFlushedTotal.DeletePartialMatch(m.constLabel)
|
||||
metrics.WALSegmentBytes.Delete(m.constLabel)
|
||||
metrics.WALPartitionTotal.Delete(m.constLabel)
|
||||
metrics.WALCollectionTotal.Delete(m.constLabel)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue