Skip to content

The v2 version xray doesn't work for dynamodb putItem api #408

@zhaoyi0113

Description

@zhaoyi0113

I am deploying code to Lambda and use below code to instrument dynamodb requests. It works fine for query but doesn't work for putItem.

awsv2.AWSV2Instrumentor(&cfg.APIOptions)
	// Using the Config value, create the DynamoDB client
	svc := dynamodb.NewFromConfig(cfg)

I got below error:

Suppressing AWS X-Ray context missing panic: failed to begin subsegment named 'DynamoDB': segment cannot be found.

Is there any other configuration needed for putItem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions