From 1d1ddbef40190d0a57df322ff0e2d73b69132a33 Mon Sep 17 00:00:00 2001 From: Palash Gupta Date: Tue, 11 Jul 2023 19:38:09 +0530 Subject: [PATCH 1/2] chore: link is updated (#3105) --- frontend/src/container/LogsExplorerViews/index.tsx | 2 +- frontend/src/pages/TracesExplorer/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/container/LogsExplorerViews/index.tsx b/frontend/src/container/LogsExplorerViews/index.tsx index 082365d347..afbca2b470 100644 --- a/frontend/src/container/LogsExplorerViews/index.tsx +++ b/frontend/src/container/LogsExplorerViews/index.tsx @@ -272,7 +272,7 @@ function LogsExplorerViews(): JSX.Element { Panel limit exceeded for {DataSource.LOGS} in community edition. Please checkout our paid plans{' '} diff --git a/frontend/src/pages/TracesExplorer/index.tsx b/frontend/src/pages/TracesExplorer/index.tsx index f5cff0dec0..7252927670 100644 --- a/frontend/src/pages/TracesExplorer/index.tsx +++ b/frontend/src/pages/TracesExplorer/index.tsx @@ -105,7 +105,7 @@ function TracesExplorer(): JSX.Element { Panel limit exceeded for {DataSource.TRACES} in community edition. Please checkout our paid plans{' '} From a6e6c171c352815fbef6dd53518f391b6b8ce5cc Mon Sep 17 00:00:00 2001 From: Nityananda Gohain Date: Tue, 11 Jul 2023 23:02:10 +0530 Subject: [PATCH 2/2] fix: autcomplete top level keys (#3104) --- pkg/query-service/app/clickhouseReader/reader.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/query-service/app/clickhouseReader/reader.go b/pkg/query-service/app/clickhouseReader/reader.go index 7185581ab7..f30db29af6 100644 --- a/pkg/query-service/app/clickhouseReader/reader.go +++ b/pkg/query-service/app/clickhouseReader/reader.go @@ -3958,7 +3958,10 @@ func (r *ClickHouseReader) GetLogAttributeValues(ctx context.Context, req *v3.Fi // if dataType or tagType is not present return empty response if len(req.FilterAttributeKeyDataType) == 0 || len(req.TagType) == 0 || req.FilterAttributeKey == "body" { - return &v3.FilterAttributeValueResponse{}, nil + // also check if it is not a top level key + if _, ok := constants.StaticFieldsLogsV3[req.FilterAttributeKey]; !ok { + return &v3.FilterAttributeValueResponse{}, nil + } } // if data type is bool, return true and false