mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: reset the RootCoordQuotaStates metric before recording this metric (#33553)
- issue: #33539 Signed-off-by: SimFG <bang.fu@zilliz.com>
This commit is contained in:
parent
d0a0eac0a4
commit
44d7e03e56
@ -1487,6 +1487,7 @@ func (q *QuotaCenter) sendRatesToProxy() error {
|
||||
|
||||
// recordMetrics records metrics of quota states.
|
||||
func (q *QuotaCenter) recordMetrics() {
|
||||
metrics.RootCoordQuotaStates.Reset()
|
||||
dbIDs := make(map[int64]string, q.dbs.Len())
|
||||
collectionIDs := make(map[int64]string, q.collections.Len())
|
||||
q.dbs.Range(func(name string, id int64) bool {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user