diff --git a/app/(protected)/project/[project_id]/annotations/annotations.tsx b/app/(protected)/project/[project_id]/annotations/annotations.tsx index 78c9d47e..4a0108fe 100644 --- a/app/(protected)/project/[project_id]/annotations/annotations.tsx +++ b/app/(protected)/project/[project_id]/annotations/annotations.tsx @@ -77,10 +77,21 @@ export default function Annotations({ email }: { email: string }) { type: "event", }, { - key: "status_code", - operation: "EQUALS", - value: "STATUS_CODE_OK", - type: "property", + operation: "OR", + filters: [ + { + key: "status_code", + operation: "EQUALS", + value: "STATUS_CODE_OK", + type: "property", + }, + { + key: "status_code", + operation: "EQUALS", + value: "1", + type: "property", + }, + ], }, ], }, diff --git a/components/annotations/chart-tabs.tsx b/components/annotations/chart-tabs.tsx index 84ed8d7c..62f19063 100644 --- a/components/annotations/chart-tabs.tsx +++ b/components/annotations/chart-tabs.tsx @@ -36,10 +36,21 @@ export function ChartTabs({ type: "event", }, { - key: "status_code", - operation: "EQUALS", - value: "STATUS_CODE_OK", - type: "property", + operation: "OR", + filters: [ + { + key: "status_code", + operation: "EQUALS", + value: "STATUS_CODE_OK", + type: "property", + }, + { + key: "status_code", + operation: "EQUALS", + value: "1", + type: "property", + }, + ], }, ], },