-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Description
I use the following function to instrument the github.com/aws/aws-sdk-go-v2/aws
config of DynamoDB:
func InstrumentAWSV2SDK(cfg *aws.Config) {
xray.AWSV2Instrumentor(&cfg.APIOptions)
}
However the resulting segments and subsegments only include the operation
field. The table_name
field which is filled by v1 instrumentation is missing from V2 segments:
{
"id": "41dca423be59c89b",
"name": "DynamoDB",
"start_time": 1695049841.6308432,
"end_time": 1695049842.310672,
"http": {
"response": {
"status": 200,
"content_length": 2
}
},
"aws": {
"region": "eu-west-3",
"operation": "PutItem",
"request_id": "ST03KT8SKU47VP27DQ5MDT9C83VV4KQNSO5AEMVJF66Q9ASUAAJG"
},
"namespace": "aws"
}
Metadata
Metadata
Assignees
Labels
No labels