From 5e5e55f1b96a0c85e736502ae842d85ff37656a7 Mon Sep 17 00:00:00 2001
From: Manoj Vivek
Date: Thu, 12 Dec 2024 18:24:34 +0530
Subject: [PATCH] Removed unwanted println
---
pkg/query/columnquery.go | 4 ----
1 file changed, 4 deletions(-)
diff --git a/pkg/query/columnquery.go b/pkg/query/columnquery.go
index c849ff77a0a..c42ec2a5b1c 100644
--- a/pkg/query/columnquery.go
+++ b/pkg/query/columnquery.go
@@ -248,8 +248,6 @@ func (q *ColumnQueryAPI) Query(ctx context.Context, req *pb.QueryRequest) (*pb.Q
groupBy = append(groupBy, profile.ColumnTimestamp, profile.ColumnDuration)
}
- fmt.Println("groupBy", groupBy)
-
groupByLabels := make([]string, 0, len(groupBy))
for _, f := range groupBy {
if strings.HasPrefix(f, FlamegraphFieldLabels+".") {
@@ -264,8 +262,6 @@ func (q *ColumnQueryAPI) Query(ctx context.Context, req *pb.QueryRequest) (*pb.Q
return nil, status.Errorf(codes.InvalidArgument, "invalid group by field: %s", f)
}
- fmt.Println("groupByLabels", groupByLabels)
-
switch req.Mode {
case pb.QueryRequest_MODE_SINGLE_UNSPECIFIED:
p, err = q.selectSingle(ctx, req.GetSingle(), isInvert)