Skip to content

Commit

Permalink
Fix trace validation error follow up fix (#626)
Browse files Browse the repository at this point in the history
  • Loading branch information
harrryr authored Dec 1, 2023
1 parent 9747047 commit b082f92
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ public List<TraceSummary> searchClientCallTraces(String serviceName) {
new GetTraceSummariesRequest()
.withStartTime(pastDate)
.withEndTime(currentDate)
.withFilterExpression("annotation.aws_local_service = " + serviceName)
.withFilterExpression("annotation.aws_local_service = \"local-root-client-call\""));
.withFilterExpression(
"annotation.aws_local_service = \""
+ serviceName
+ "\" AND annotation.aws_local_service = \"local-root-client-call\""));
return traceSummaryResult.getTraceSummaries();
}
}

0 comments on commit b082f92

Please sign in to comment.