From 6383c1268b473f45d26b5a16515bda848f601c0f Mon Sep 17 00:00:00 2001 From: Yash Sharma Date: Mon, 1 Mar 2021 18:32:14 +0530 Subject: [PATCH] changes for debug Signed-off-by: Yash Sharma --- cmd/thanos/receive.go | 1 - cmd/thanos/receive_route.go | 1 - test/e2e/query_test.go | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/cmd/thanos/receive.go b/cmd/thanos/receive.go index 2d8a8b1cac..1f9f6677a1 100644 --- a/cmd/thanos/receive.go +++ b/cmd/thanos/receive.go @@ -183,7 +183,6 @@ func runReceive( // Start all components while we wait for TSDB to open but only load // initial config and mark ourselves as ready after it completed. - level.Debug(logger).Log("msg", "setting up tsdb") { log.With(logger, "component", "storage") diff --git a/cmd/thanos/receive_route.go b/cmd/thanos/receive_route.go index c6a58cae8d..12aab48b13 100644 --- a/cmd/thanos/receive_route.go +++ b/cmd/thanos/receive_route.go @@ -142,7 +142,6 @@ func runReceiveRoute( // Start all components while we wait for TSDB to open but only load // initial config and mark ourselves as ready after it completed. - level.Debug(logger).Log("msg", "setting up hashring") { // Note: the hashring configuration watcher diff --git a/test/e2e/query_test.go b/test/e2e/query_test.go index d805ca86cf..0c41648acb 100644 --- a/test/e2e/query_test.go +++ b/test/e2e/query_test.go @@ -304,7 +304,7 @@ func TestQueryLabelNames(t *testing.T) { labelNames(t, ctx, q.HTTPEndpoint(), []storepb.LabelMatcher{{Type: storepb.LabelMatcher_EQ, Name: "__name__", Value: "up"}}, timestamp.FromTime(now.Add(-time.Hour)), timestamp.FromTime(now.Add(time.Hour)), func(res []string) bool { // Expected result: [__name__, instance, job, prometheus, replica] - return len(res) == 7 + return len(res) == 5 }, )