From a60e9adb861e7677e40064fdd011c47d134e2c0a Mon Sep 17 00:00:00 2001 From: "HC Zhu (DB)" Date: Wed, 25 Sep 2024 19:35:32 -0700 Subject: [PATCH] Fix a top metrics related error log --- cmd/thanos/receive.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/thanos/receive.go b/cmd/thanos/receive.go index c49b86245b..4b21e68ae0 100644 --- a/cmd/thanos/receive.go +++ b/cmd/thanos/receive.go @@ -453,7 +453,7 @@ func runReceive( ctx, cancel := context.WithCancel(context.Background()) g.Add(func() error { return runutil.Repeat(conf.topMetricsUpdateInterval, ctx.Done(), func() error { - level.Error(logger).Log("msg", "getting top metrics") + level.Info(logger).Log("msg", "getting top metrics") for _, ts := range dbs.TenantStats(conf.numTopMetricsPerTenant, labels.MetricName) { for _, ms := range ts.Stats.IndexPostingStats.CardinalityMetricsStats { if ms.Count >= conf.topMetricsMinimumCardinality {