We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bec60c commit d681d56Copy full SHA for d681d56
pkg/ingester/ingester.go
@@ -2032,11 +2032,9 @@ func (i *Ingester) userStats() []UserIDStats {
2032
i.stoppedMtx.RLock()
2033
defer i.stoppedMtx.RUnlock()
2034
2035
- perUserTotals := make(map[string]UserStats)
2036
-
2037
users := i.TSDBState.dbs
2038
2039
- response := make([]UserIDStats, 0, len(perUserTotals))
+ response := make([]UserIDStats, 0, len(users))
2040
for id, db := range users {
2041
response = append(response, UserIDStats{
2042
UserID: id,
0 commit comments