-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting warning message from span_pointers.dynamodb #11320
Comments
I am also getting similar issue, I have table with
and I am getting
|
Hello! Thanks for letting us know about this. The span pointer code fails safe, so while these spans won't have span pointers associated with them, the rest of the code should work just fine. We wrote the logic based on the documentation available to us. Perhaps the underlying boto3 api handling is more flexible than their docs had suggested? Could you share more about the schema of the table (the primary key in particular) and an example of the boto3 api call you are making? That should help us adjust our parsing logic accordingly. |
I have table with hash_key: PK
Here is how I put item
I get
This also happens when I only have PK no SK. |
Ah, interesting. Our code currently assumes that the dynamo api is being called with value objects, not values. i.e. |
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=<SERVICE_NAME>.env=prod dd.version= dd.span_id=<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? b98138c
The text was updated successfully, but these errors were encountered: