DataDog / dd-trace-py

Datadog Python APM Client
https://ddtrace.readthedocs.io/
Other
551 stars 413 forks source link

Getting warning message from span_pointers.dynamodb #11320

Open anna20160606 opened 1 day ago

anna20160606 commented 1 day ago

Get warning message, but looks like AWS DB update went through. What kind of error does this message indicates? Assume this exception will not break the existing function?

WARNING [ddtrace._trace.utils_botocore.span_pointers.dynamodb] [dynamodb.py:181] [dd.service=.env=prod dd.version= dd.span_id=] - failed to generate DynamoDB.UpdateItem span pointer: primary key value object must have exactly one field: 12, 2 additional messages skipped

Maybe related to this change? https://github.com/DataDog/dd-trace-py/commit/b98138ca250e1497182926c67e1bc1c367c12c2f

harshilprajapati96 commented 1 day ago

I am also getting similar issue, I have table with

and I am getting

failed to generate DynamoDB.PutItem span pointer: primary key field PK must have exactly one value: 10