Hello, I am getting an error when using aws-xray-sdk with @aws-sdk/client-eventbridge.
I tried to instrument event bridge using the captureAWSv3Client like so:
import AWSXRay from 'aws-xray-sdk';
import { EventBridgeClient } from '@aws-sdk/client-eventbridge';
const eventClient = AWSXRay.captureAWSv3Client(new EventBridgeClient());
and I get an error:
TypeError: Cannot read properties of undefined (reading 'remove') at Object.captureAWSClient [as captureAWSv3Client].
Here are the version I am using:
"aws-xray-sdk": "^3.9.0",
"@aws-sdk/client-eventbridge": "^3.215.0",
Hello, I am getting an error when using
aws-xray-sdkwith@aws-sdk/client-eventbridge.I tried to instrument event bridge using the
captureAWSv3Clientlike so:and I get an error:
TypeError: Cannot read properties of undefined (reading 'remove') at Object.captureAWSClient [as captureAWSv3Client].Here are the version I am using:
"aws-xray-sdk": "^3.9.0","@aws-sdk/client-eventbridge": "^3.215.0",