Skip to content

Commit

Permalink
feat: bug fix for the issue in span filtering feature. No spans retur…
Browse files Browse the repository at this point in the history
…ned in traces tab
  • Loading branch information
eKuG committed Feb 4, 2025
1 parent 2eb805f commit 0a240e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/query-service/app/traces/v3/query_builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1166,10 +1166,10 @@ var testBuildTracesQueryData = []struct {
" AS traceID FROM signoz_traces.distributed_signoz_index_v2 INNER JOIN" +
" ( SELECT * FROM (SELECT traceID, durationNano, serviceName, name " +
"FROM signoz_traces.signoz_index_v2 WHERE parentSpanID = '' AND (timestamp >= '1680066360726210000' AND timestamp <= '1680066458000000000') " +
"ORDER BY durationNano DESC LIMIT 1 BY traceID LIMIT 100)" +
"ORDER BY durationNano DESC LIMIT 1 BY traceID LIMIT 100)" +
" AS inner_subquery ) AS subQuery " +
"ON signoz_traces.distributed_signoz_index_v2.traceID = subQuery.traceID WHERE (timestamp >= '1680066360726210000' AND timestamp <= '1680066458000000000') " +
" AND stringTagMap['method'] = 'GET' GROUP BY subQuery.traceID, subQuery.durationNano, subQuery.name, subQuery.serviceName ORDER BY subQuery.durationNano desc LIMIT 1 BY subQuery.traceID",
" AND stringTagMap['method'] = 'GET' GROUP BY subQuery.traceID, subQuery.durationNano, subQuery.name, subQuery.serviceName ORDER BY subQuery.durationNano desc LIMIT 1 BY subQuery.traceID ",
PanelType: v3.PanelTypeTrace,
},
}
Expand Down

0 comments on commit 0a240e6

Please sign in to comment.