mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
fix: streaming metrics do not clear (#36701)
issue: #33285 Signed-off-by: chyezh <chyezh@outlook.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user