Hi, I would like to improve the observability of my sample application which is working with AWS AppSync, API Gateway, AWS Lambda and AMAZON DynamoDB and written by typescript. And, Currently, I can see the trace map. But, AMAZON DynamoDB doesn’t show up in this map. So, I modified the lambda code to improve the observability of aws-sdk.
import * as aws from "aws-sdk";
import * as AWSXRay from "aws-xray-sdk";
const AWS = AWSXRay.captureAWS(aws);
export const getDocumentClient = ():DocumentClient => {
return new AWS.DynamoDB.DocumentClient(
{
service: new AWS.DynamoDB({region: "ap-northeast-2" })
});
}
I still can’t see AWS DynamoDB. Maybe there is something wrong with this code?
Hi, I would like to improve the observability of my sample application which is working with AWS AppSync, API Gateway, AWS Lambda and AMAZON DynamoDB and written by typescript. And, Currently, I can see the trace map. But, AMAZON DynamoDB doesn’t show up in this map. So, I modified the lambda code to improve the observability of aws-sdk.
I still can’t see AWS DynamoDB. Maybe there is something wrong with this code?