Skip to content

Commit

Permalink
changes for debug
Browse files Browse the repository at this point in the history
Signed-off-by: Yash Sharma <[email protected]>
  • Loading branch information
yashrsharma44 committed Mar 1, 2021
1 parent bc09a82 commit 6383c12
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion cmd/thanos/receive.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
1 change: 0 additions & 1 deletion cmd/thanos/receive_route.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
)

Expand Down

0 comments on commit 6383c12

Please sign in to comment.