Skip to content

Commit e34dca2

Browse files
committed
test
1 parent 915b277 commit e34dca2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

validator/src/main/java/com/amazon/aoc/validators/TraceValidator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ private Map<String, Object> getTrace() throws Exception {
149149
}
150150

151151
if (validationConfig.getHttpPath().contains("chat")) {
152-
traceFilter = String.format("service(\"%s\") AND annotation.aws_service_type = \"gen_ai_agent\"", context.getServiceName());
152+
traceFilter = String.format("service(\"%s\")", context.getServiceName());
153153
if (context.getBaggage() != null) {
154-
traceFilter += String.format(" AND annotation.session_id = \"%s\"", context.getBaggage());
154+
traceFilter += String.format(" AND annotation.\"session.id\" = \"%s\"", context.getBaggage());
155155
}
156156
}
157157
log.info("Trace Filter: {}", traceFilter);

0 commit comments

Comments
 (0)