Skip to content

Commit 189d574

Browse files
committed
refactor: remove error.id as its not needed
1 parent 0edba39 commit 189d574

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

x-pack/solutions/observability/plugins/apm/server/routes/errors/get_error_groups/get_error_group_main_statistics.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import {
1717
ERROR_EXC_TYPE,
1818
ERROR_GROUP_ID,
1919
ERROR_GROUP_NAME,
20-
ERROR_ID,
2120
ERROR_LOG_MESSAGE,
2221
SERVICE_NAME,
2322
TRACE_ID,
@@ -97,7 +96,7 @@ export async function getErrorGroupMainStatistics({
9796
]
9897
: [];
9998

100-
const requiredFields = asMutableArray([AT_TIMESTAMP, ERROR_GROUP_ID, ERROR_ID] as const);
99+
const requiredFields = asMutableArray([AT_TIMESTAMP, ERROR_GROUP_ID] as const);
101100

102101
const optionalFields = asMutableArray([
103102
TRACE_ID,

0 commit comments

Comments
 (0)