From 4c852bfc30c48efc32e4d6ab870bebe3c6bf0853 Mon Sep 17 00:00:00 2001 From: Alan Protasio Date: Wed, 24 May 2023 09:28:43 -0700 Subject: [PATCH] fix prometheus breaking change Signed-off-by: Alan Protasio --- pkg/receive/multitsdb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/receive/multitsdb.go b/pkg/receive/multitsdb.go index d4588da269..bc08d940a7 100644 --- a/pkg/receive/multitsdb.go +++ b/pkg/receive/multitsdb.go @@ -541,7 +541,7 @@ func (t *MultiTSDB) TenantStats(statsByLabelName string, tenantIDs ...string) [] if db == nil { return } - stats := db.Head().Stats(statsByLabelName) + stats := db.Head().Stats(statsByLabelName, 10) mu.Lock() defer mu.Unlock()