Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/server/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ import {
import { sentryPlugin } from '@pocket-tools/apollo-utils';
import { graphqlUploadExpress } from 'graphql-upload';

//Set XRAY to just log if the context is missing instead of a runtime error
AWSXRay.setContextMissingStrategy('LOG_ERROR');
// 2026-05-04: Set XRAY to ignore context missing errors
// AWS logs are flooded with context missing errors, making it difficult to
// debug other issues.
AWSXRay.setContextMissingStrategy('IGNORE_ERROR');

//Add the AWS XRAY ECS plugin that will add ecs specific data to the trace
AWSXRay.config([AWSXRay.plugins.ECSPlugin]);
Expand Down
Loading