diff --git a/exceptiontrace/exceptiontrace-web/src/main/resources/exceptiontrace/mapper/ExceptionGroupMapper.xml b/exceptiontrace/exceptiontrace-web/src/main/resources/exceptiontrace/mapper/ExceptionGroupMapper.xml
index e61d6eb28c1f..52ed2c45ec24 100644
--- a/exceptiontrace/exceptiontrace-web/src/main/resources/exceptiontrace/mapper/ExceptionGroupMapper.xml
+++ b/exceptiontrace/exceptiontrace-web/src/main/resources/exceptiontrace/mapper/ExceptionGroupMapper.xml
@@ -29,7 +29,12 @@
applicationName,
- LASTWITHTIME(agentId, "timestamp", 'STRING') as "agentId",
+
+ LASTWITHTIME(agentId, "timestamp", 'STRING') as "agentId",
+
+
+ agentId,
+
LASTWITHTIME(transactionId, "timestamp", 'STRING') as "transactionId",
LASTWITHTIME(spanId, "timestamp", 'LONG') as "spanId",
LASTWITHTIME(exceptionId, "timestamp", 'LONG') as "exceptionId"
@@ -45,6 +50,9 @@
AND agentId = #{agentId}
GROUP BY applicationName
+
+ , agentId
+
ORDER BY count(*) desc
LIMIT 10