Skip to content

Commit b4622d8

Browse files
authored
Merge pull request linkedin#776 from ygsa/master
Add DeleteConsumerMetrics for every delete consumer.
2 parents cf660c2 + 14809a3 commit b4622d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/internal/storage/inmemory.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ package storage
1111

1212
import (
1313
"container/ring"
14+
"github.com/linkedin/Burrow/core/internal/httpserver"
1415
"math/rand"
1516
"regexp"
1617
"sync"
@@ -675,6 +676,7 @@ func (module *InMemoryStorage) deleteGroup(request *protocol.StorageRequest, req
675676
delete(clusterMap.consumer, request.Group)
676677
}
677678
clusterMap.consumerLock.Unlock()
679+
httpserver.DeleteConsumerMetrics(request.Cluster, request.Group)
678680

679681
requestLogger.Debug("ok")
680682
}

0 commit comments

Comments
 (0)