Semantic conventions for AWS DynamoDB

Status: Development

The Semantic Conventions for AWS DynamoDB extend and override the general AWS SDK Semantic Conventions and Database Semantic Conventions.

Spans

Spans representing calls to AWS DynamoDB adhere to the general Semantic Conventions for Database Client Spans.

The following table outlines the span attributes applicable to DynamoDB.

db.system.name MUST be set to "aws.dynamodb" and SHOULD be provided at span creation time.

DynamoDB.BatchGetItem

AttributeTypeDescriptionExamplesRequirement LevelStability
rpc.systemstringThe value aws-api.aws-apiRequiredDevelopment
aws.extended_request_idstringThe AWS extended request ID as returned in the response header x-amz-id-2.wzHcyEWfmOGDIE5QOhTAqFDoDWP3y8IUvpNINCwL9N4TEHbUw0/gZJ+VZTmCNCWR7fezEN3eCiQ=Conditionally Required If available.Development
aws.dynamodb.consumed_capacitystring[]The JSON-serialized value of each item in the ConsumedCapacity response field.["{ \"CapacityUnits\": number, \"GlobalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"LocalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"ReadCapacityUnits\": number, \"Table\": { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number }, \"TableName\": \"string\", \"WriteCapacityUnits\": number }"]RecommendedDevelopment
aws.dynamodb.table_namesstring[]The keys in the RequestItems object field.["Users", "Cats"]RecommendedDevelopment
aws.request_idstringThe AWS request ID as returned in the response headers x-amzn-requestid, x-amzn-request-id or x-amz-request-id.79b9da39-b7ae-508a-a6bc-864b2829c622; C9ER4AJX75574TDJRecommendedDevelopment
rpc.methodstringThe name of the operation corresponding to the request, as returned by the AWS SDK [1]GetItem; PutItemRecommendedDevelopment
rpc.servicestringThe name of the service to which a request is made, as returned by the AWS SDK. [2]DynamoDB; S3RecommendedDevelopment

[1] rpc.method: This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The code.function.name attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side).

[2] rpc.service: This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The code.namespace attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side).


rpc.system has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
apache_dubboApache DubboDevelopment
connect_rpcConnect RPCDevelopment
dotnet_wcf.NET WCFDevelopment
grpcgRPCDevelopment
java_rmiJava RMIDevelopment

DynamoDB.BatchWriteItem

AttributeTypeDescriptionExamplesRequirement LevelStability
rpc.systemstringThe value aws-api.aws-apiRequiredDevelopment
aws.extended_request_idstringThe AWS extended request ID as returned in the response header x-amz-id-2.wzHcyEWfmOGDIE5QOhTAqFDoDWP3y8IUvpNINCwL9N4TEHbUw0/gZJ+VZTmCNCWR7fezEN3eCiQ=Conditionally Required If available.Development
aws.dynamodb.consumed_capacitystring[]The JSON-serialized value of each item in the ConsumedCapacity response field.["{ \"CapacityUnits\": number, \"GlobalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"LocalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"ReadCapacityUnits\": number, \"Table\": { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number }, \"TableName\": \"string\", \"WriteCapacityUnits\": number }"]RecommendedDevelopment
aws.dynamodb.item_collection_metricsstringThe JSON-serialized value of the ItemCollectionMetrics response field.{ "string" : [ { "ItemCollectionKey": { "string" : { "B": blob, "BOOL": boolean, "BS": [ blob ], "L": [ "AttributeValue" ], "M": { "string" : "AttributeValue" }, "N": "string", "NS": [ "string" ], "NULL": boolean, "S": "string", "SS": [ "string" ] } }, "SizeEstimateRangeGB": [ number ] } ] }RecommendedDevelopment
aws.dynamodb.table_namesstring[]The keys in the RequestItems object field.["Users", "Cats"]RecommendedDevelopment
aws.request_idstringThe AWS request ID as returned in the response headers x-amzn-requestid, x-amzn-request-id or x-amz-request-id.79b9da39-b7ae-508a-a6bc-864b2829c622; C9ER4AJX75574TDJRecommendedDevelopment
rpc.methodstringThe name of the operation corresponding to the request, as returned by the AWS SDK [1]GetItem; PutItemRecommendedDevelopment
rpc.servicestringThe name of the service to which a request is made, as returned by the AWS SDK. [2]DynamoDB; S3RecommendedDevelopment

[1] rpc.method: This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The code.function.name attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side).

[2] rpc.service: This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The code.namespace attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side).


rpc.system has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
apache_dubboApache DubboDevelopment
connect_rpcConnect RPCDevelopment
dotnet_wcf.NET WCFDevelopment
grpcgRPCDevelopment
java_rmiJava RMIDevelopment

DynamoDB.CreateTable

AttributeTypeDescriptionExamplesRequirement LevelStability
rpc.systemstringThe value aws-api.aws-apiRequiredDevelopment
aws.extended_request_idstringThe AWS extended request ID as returned in the response header x-amz-id-2.wzHcyEWfmOGDIE5QOhTAqFDoDWP3y8IUvpNINCwL9N4TEHbUw0/gZJ+VZTmCNCWR7fezEN3eCiQ=Conditionally Required If available.Development
aws.dynamodb.consumed_capacitystring[]The JSON-serialized value of each item in the ConsumedCapacity response field.["{ \"CapacityUnits\": number, \"GlobalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"LocalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"ReadCapacityUnits\": number, \"Table\": { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number }, \"TableName\": \"string\", \"WriteCapacityUnits\": number }"]RecommendedDevelopment
aws.dynamodb.global_secondary_indexesstring[]The JSON-serialized value of each item of the GlobalSecondaryIndexes request field["{ \"IndexName\": \"string\", \"KeySchema\": [ { \"AttributeName\": \"string\", \"KeyType\": \"string\" } ], \"Projection\": { \"NonKeyAttributes\": [ \"string\" ], \"ProjectionType\": \"string\" }, \"ProvisionedThroughput\": { \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }"]RecommendedDevelopment
aws.dynamodb.item_collection_metricsstringThe JSON-serialized value of the ItemCollectionMetrics response field.{ "string" : [ { "ItemCollectionKey": { "string" : { "B": blob, "BOOL": boolean, "BS": [ blob ], "L": [ "AttributeValue" ], "M": { "string" : "AttributeValue" }, "N": "string", "NS": [ "string" ], "NULL": boolean, "S": "string", "SS": [ "string" ] } }, "SizeEstimateRangeGB": [ number ] } ] }RecommendedDevelopment
aws.dynamodb.local_secondary_indexesstring[]The JSON-serialized value of each item of the LocalSecondaryIndexes request field.["{ \"IndexArn\": \"string\", \"IndexName\": \"string\", \"IndexSizeBytes\": number, \"ItemCount\": number, \"KeySchema\": [ { \"AttributeName\": \"string\", \"KeyType\": \"string\" } ], \"Projection\": { \"NonKeyAttributes\": [ \"string\" ], \"ProjectionType\": \"string\" } }"]RecommendedDevelopment
aws.dynamodb.provisioned_read_capacitydoubleThe value of the ProvisionedThroughput.ReadCapacityUnits request parameter.1.0; 2.0RecommendedDevelopment
aws.dynamodb.provisioned_write_capacitydoubleThe value of the ProvisionedThroughput.WriteCapacityUnits request parameter.1.0; 2.0RecommendedDevelopment
aws.dynamodb.table_namesstring[]A single-element array with the value of the TableName request parameter.["Users"]RecommendedDevelopment
aws.request_idstringThe AWS request ID as returned in the response headers x-amzn-requestid, x-amzn-request-id or x-amz-request-id.79b9da39-b7ae-508a-a6bc-864b2829c622; C9ER4AJX75574TDJRecommendedDevelopment
rpc.methodstringThe name of the operation corresponding to the request, as returned by the AWS SDK [1]GetItem; PutItemRecommendedDevelopment
rpc.servicestringThe name of the service to which a request is made, as returned by the AWS SDK. [2]DynamoDB; S3RecommendedDevelopment

[1] rpc.method: This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The code.function.name attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side).

[2] rpc.service: This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The code.namespace attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side).


rpc.system has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
apache_dubboApache DubboDevelopment
connect_rpcConnect RPCDevelopment
dotnet_wcf.NET WCFDevelopment
grpcgRPCDevelopment
java_rmiJava RMIDevelopment

DynamoDB.DeleteItem

AttributeTypeDescriptionExamplesRequirement LevelStability
rpc.systemstringThe value aws-api.aws-apiRequiredDevelopment
aws.extended_request_idstringThe AWS extended request ID as returned in the response header x-amz-id-2.wzHcyEWfmOGDIE5QOhTAqFDoDWP3y8IUvpNINCwL9N4TEHbUw0/gZJ+VZTmCNCWR7fezEN3eCiQ=Conditionally Required If available.Development
aws.dynamodb.consumed_capacitystring[]The JSON-serialized value of each item in the ConsumedCapacity response field.["{ \"CapacityUnits\": number, \"GlobalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"LocalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"ReadCapacityUnits\": number, \"Table\": { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number }, \"TableName\": \"string\", \"WriteCapacityUnits\": number }"]RecommendedDevelopment
aws.dynamodb.item_collection_metricsstringThe JSON-serialized value of the ItemCollectionMetrics response field.{ "string" : [ { "ItemCollectionKey": { "string" : { "B": blob, "BOOL": boolean, "BS": [ blob ], "L": [ "AttributeValue" ], "M": { "string" : "AttributeValue" }, "N": "string", "NS": [ "string" ], "NULL": boolean, "S": "string", "SS": [ "string" ] } }, "SizeEstimateRangeGB": [ number ] } ] }RecommendedDevelopment
aws.dynamodb.table_namesstring[]A single-element array with the value of the TableName request parameter.["Users"]RecommendedDevelopment
aws.request_idstringThe AWS request ID as returned in the response headers x-amzn-requestid, x-amzn-request-id or x-amz-request-id.79b9da39-b7ae-508a-a6bc-864b2829c622; C9ER4AJX75574TDJRecommendedDevelopment
rpc.methodstringThe name of the operation corresponding to the request, as returned by the AWS SDK [1]GetItem; PutItemRecommendedDevelopment
rpc.servicestringThe name of the service to which a request is made, as returned by the AWS SDK. [2]DynamoDB; S3RecommendedDevelopment

[1] rpc.method: This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The code.function.name attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side).

[2] rpc.service: This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The code.namespace attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side).


rpc.system has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
apache_dubboApache DubboDevelopment
connect_rpcConnect RPCDevelopment
dotnet_wcf.NET WCFDevelopment
grpcgRPCDevelopment
java_rmiJava RMIDevelopment

DynamoDB.DeleteTable

AttributeTypeDescriptionExamplesRequirement LevelStability
rpc.systemstringThe value aws-api.aws-apiRequiredDevelopment
aws.extended_request_idstringThe AWS extended request ID as returned in the response header x-amz-id-2.wzHcyEWfmOGDIE5QOhTAqFDoDWP3y8IUvpNINCwL9N4TEHbUw0/gZJ+VZTmCNCWR7fezEN3eCiQ=Conditionally Required If available.Development
aws.dynamodb.table_namesstring[]A single-element array with the value of the TableName request parameter.["Users"]RecommendedDevelopment
aws.request_idstringThe AWS request ID as returned in the response headers x-amzn-requestid, x-amzn-request-id or x-amz-request-id.79b9da39-b7ae-508a-a6bc-864b2829c622; C9ER4AJX75574TDJRecommendedDevelopment
rpc.methodstringThe name of the operation corresponding to the request, as returned by the AWS SDK [1]GetItem; PutItemRecommendedDevelopment
rpc.servicestringThe name of the service to which a request is made, as returned by the AWS SDK. [2]DynamoDB; S3RecommendedDevelopment

[1] rpc.method: This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The code.function.name attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side).

[2] rpc.service: This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The code.namespace attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side).


rpc.system has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
apache_dubboApache DubboDevelopment
connect_rpcConnect RPCDevelopment
dotnet_wcf.NET WCFDevelopment
grpcgRPCDevelopment
java_rmiJava RMIDevelopment

DynamoDB.DescribeTable

AttributeTypeDescriptionExamplesRequirement LevelStability
rpc.systemstringThe value aws-api.aws-apiRequiredDevelopment
aws.extended_request_idstringThe AWS extended request ID as returned in the response header x-amz-id-2.wzHcyEWfmOGDIE5QOhTAqFDoDWP3y8IUvpNINCwL9N4TEHbUw0/gZJ+VZTmCNCWR7fezEN3eCiQ=Conditionally Required If available.Development
aws.dynamodb.table_namesstring[]A single-element array with the value of the TableName request parameter.["Users"]RecommendedDevelopment
aws.request_idstringThe AWS request ID as returned in the response headers x-amzn-requestid, x-amzn-request-id or x-amz-request-id.79b9da39-b7ae-508a-a6bc-864b2829c622; C9ER4AJX75574TDJRecommendedDevelopment
rpc.methodstringThe name of the operation corresponding to the request, as returned by the AWS SDK [1]GetItem; PutItemRecommendedDevelopment
rpc.servicestringThe name of the service to which a request is made, as returned by the AWS SDK. [2]DynamoDB; S3RecommendedDevelopment

[1] rpc.method: This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The code.function.name attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side).

[2] rpc.service: This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The code.namespace attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side).


rpc.system has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
apache_dubboApache DubboDevelopment
connect_rpcConnect RPCDevelopment
dotnet_wcf.NET WCFDevelopment
grpcgRPCDevelopment
java_rmiJava RMIDevelopment

DynamoDB.GetItem

AttributeTypeDescriptionExamplesRequirement LevelStability
rpc.systemstringThe value aws-api.aws-apiRequiredDevelopment
aws.extended_request_idstringThe AWS extended request ID as returned in the response header x-amz-id-2.wzHcyEWfmOGDIE5QOhTAqFDoDWP3y8IUvpNINCwL9N4TEHbUw0/gZJ+VZTmCNCWR7fezEN3eCiQ=Conditionally Required If available.Development
aws.dynamodb.consistent_readbooleanThe value of the ConsistentRead request parameter.RecommendedDevelopment
aws.dynamodb.consumed_capacitystring[]The JSON-serialized value of each item in the ConsumedCapacity response field.["{ \"CapacityUnits\": number, \"GlobalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"LocalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"ReadCapacityUnits\": number, \"Table\": { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number }, \"TableName\": \"string\", \"WriteCapacityUnits\": number }"]RecommendedDevelopment
aws.dynamodb.projectionstringThe value of the ProjectionExpression request parameter.Title; Title, Price, Color; Title, Description, RelatedItems, ProductReviewsRecommendedDevelopment
aws.dynamodb.table_namesstring[]A single-element array with the value of the TableName request parameter.["Users"]RecommendedDevelopment
aws.request_idstringThe AWS request ID as returned in the response headers x-amzn-requestid, x-amzn-request-id or x-amz-request-id.79b9da39-b7ae-508a-a6bc-864b2829c622; C9ER4AJX75574TDJRecommendedDevelopment
rpc.methodstringThe name of the operation corresponding to the request, as returned by the AWS SDK [1]GetItem; PutItemRecommendedDevelopment
rpc.servicestringThe name of the service to which a request is made, as returned by the AWS SDK. [2]DynamoDB; S3RecommendedDevelopment

[1] rpc.method: This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The code.function.name attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side).

[2] rpc.service: This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The code.namespace attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side).


rpc.system has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
apache_dubboApache DubboDevelopment
connect_rpcConnect RPCDevelopment
dotnet_wcf.NET WCFDevelopment
grpcgRPCDevelopment
java_rmiJava RMIDevelopment

DynamoDB.ListTables

AttributeTypeDescriptionExamplesRequirement LevelStability
rpc.systemstringThe value aws-api.aws-apiRequiredDevelopment
aws.extended_request_idstringThe AWS extended request ID as returned in the response header x-amz-id-2.wzHcyEWfmOGDIE5QOhTAqFDoDWP3y8IUvpNINCwL9N4TEHbUw0/gZJ+VZTmCNCWR7fezEN3eCiQ=Conditionally Required If available.Development
aws.dynamodb.exclusive_start_tablestringThe value of the ExclusiveStartTableName request parameter.Users; CatsTableRecommendedDevelopment
aws.dynamodb.limitintThe value of the Limit request parameter.10RecommendedDevelopment
aws.dynamodb.table_countintThe number of items in the TableNames response parameter.20RecommendedDevelopment
aws.request_idstringThe AWS request ID as returned in the response headers x-amzn-requestid, x-amzn-request-id or x-amz-request-id.79b9da39-b7ae-508a-a6bc-864b2829c622; C9ER4AJX75574TDJRecommendedDevelopment
rpc.methodstringThe name of the operation corresponding to the request, as returned by the AWS SDK [1]GetItem; PutItemRecommendedDevelopment
rpc.servicestringThe name of the service to which a request is made, as returned by the AWS SDK. [2]DynamoDB; S3RecommendedDevelopment

[1] rpc.method: This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The code.function.name attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side).

[2] rpc.service: This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The code.namespace attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side).


rpc.system has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
apache_dubboApache DubboDevelopment
connect_rpcConnect RPCDevelopment
dotnet_wcf.NET WCFDevelopment
grpcgRPCDevelopment
java_rmiJava RMIDevelopment

DynamoDB.PutItem

AttributeTypeDescriptionExamplesRequirement LevelStability
rpc.systemstringThe value aws-api.aws-apiRequiredDevelopment
aws.extended_request_idstringThe AWS extended request ID as returned in the response header x-amz-id-2.wzHcyEWfmOGDIE5QOhTAqFDoDWP3y8IUvpNINCwL9N4TEHbUw0/gZJ+VZTmCNCWR7fezEN3eCiQ=Conditionally Required If available.Development
aws.dynamodb.consumed_capacitystring[]The JSON-serialized value of each item in the ConsumedCapacity response field.["{ \"CapacityUnits\": number, \"GlobalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"LocalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"ReadCapacityUnits\": number, \"Table\": { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number }, \"TableName\": \"string\", \"WriteCapacityUnits\": number }"]RecommendedDevelopment
aws.dynamodb.item_collection_metricsstringThe JSON-serialized value of the ItemCollectionMetrics response field.{ "string" : [ { "ItemCollectionKey": { "string" : { "B": blob, "BOOL": boolean, "BS": [ blob ], "L": [ "AttributeValue" ], "M": { "string" : "AttributeValue" }, "N": "string", "NS": [ "string" ], "NULL": boolean, "S": "string", "SS": [ "string" ] } }, "SizeEstimateRangeGB": [ number ] } ] }RecommendedDevelopment
aws.dynamodb.table_namesstring[]The keys in the RequestItems object field.["Users", "Cats"]RecommendedDevelopment
aws.request_idstringThe AWS request ID as returned in the response headers x-amzn-requestid, x-amzn-request-id or x-amz-request-id.79b9da39-b7ae-508a-a6bc-864b2829c622; C9ER4AJX75574TDJRecommendedDevelopment
rpc.methodstringThe name of the operation corresponding to the request, as returned by the AWS SDK [1]GetItem; PutItemRecommendedDevelopment
rpc.servicestringThe name of the service to which a request is made, as returned by the AWS SDK. [2]DynamoDB; S3RecommendedDevelopment

[1] rpc.method: This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The code.function.name attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side).

[2] rpc.service: This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The code.namespace attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side).


rpc.system has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
apache_dubboApache DubboDevelopment
connect_rpcConnect RPCDevelopment
dotnet_wcf.NET WCFDevelopment
grpcgRPCDevelopment
java_rmiJava RMIDevelopment

DynamoDB.Query

AttributeTypeDescriptionExamplesRequirement LevelStability
rpc.systemstringThe value aws-api.aws-apiRequiredDevelopment
aws.extended_request_idstringThe AWS extended request ID as returned in the response header x-amz-id-2.wzHcyEWfmOGDIE5QOhTAqFDoDWP3y8IUvpNINCwL9N4TEHbUw0/gZJ+VZTmCNCWR7fezEN3eCiQ=Conditionally Required If available.Development
aws.dynamodb.attributes_to_getstring[]The value of the AttributesToGet request parameter.["lives", "id"]RecommendedDevelopment
aws.dynamodb.consistent_readbooleanThe value of the ConsistentRead request parameter.RecommendedDevelopment
aws.dynamodb.consumed_capacitystring[]The JSON-serialized value of each item in the ConsumedCapacity response field.["{ \"CapacityUnits\": number, \"GlobalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"LocalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"ReadCapacityUnits\": number, \"Table\": { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number }, \"TableName\": \"string\", \"WriteCapacityUnits\": number }"]RecommendedDevelopment
aws.dynamodb.index_namestringThe value of the IndexName request parameter.name_to_groupRecommendedDevelopment
aws.dynamodb.limitintThe value of the Limit request parameter.10RecommendedDevelopment
aws.dynamodb.projectionstringThe value of the ProjectionExpression request parameter.Title; Title, Price, Color; Title, Description, RelatedItems, ProductReviewsRecommendedDevelopment
aws.dynamodb.scan_forwardbooleanThe value of the ScanIndexForward request parameter.RecommendedDevelopment
aws.dynamodb.selectstringThe value of the Select request parameter.ALL_ATTRIBUTES; COUNTRecommendedDevelopment
aws.dynamodb.table_namesstring[]A single-element array with the value of the TableName request parameter.["Users"]RecommendedDevelopment
aws.request_idstringThe AWS request ID as returned in the response headers x-amzn-requestid, x-amzn-request-id or x-amz-request-id.79b9da39-b7ae-508a-a6bc-864b2829c622; C9ER4AJX75574TDJRecommendedDevelopment
rpc.methodstringThe name of the operation corresponding to the request, as returned by the AWS SDK [1]GetItem; PutItemRecommendedDevelopment
rpc.servicestringThe name of the service to which a request is made, as returned by the AWS SDK. [2]DynamoDB; S3RecommendedDevelopment

[1] rpc.method: This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The code.function.name attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side).

[2] rpc.service: This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The code.namespace attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side).


rpc.system has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
apache_dubboApache DubboDevelopment
connect_rpcConnect RPCDevelopment
dotnet_wcf.NET WCFDevelopment
grpcgRPCDevelopment
java_rmiJava RMIDevelopment

DynamoDB.Scan

AttributeTypeDescriptionExamplesRequirement LevelStability
rpc.systemstringThe value aws-api.aws-apiRequiredDevelopment
aws.extended_request_idstringThe AWS extended request ID as returned in the response header x-amz-id-2.wzHcyEWfmOGDIE5QOhTAqFDoDWP3y8IUvpNINCwL9N4TEHbUw0/gZJ+VZTmCNCWR7fezEN3eCiQ=Conditionally Required If available.Development
aws.dynamodb.attributes_to_getstring[]The value of the AttributesToGet request parameter.["lives", "id"]RecommendedDevelopment
aws.dynamodb.consistent_readbooleanThe value of the ConsistentRead request parameter.RecommendedDevelopment
aws.dynamodb.consumed_capacitystring[]The JSON-serialized value of each item in the ConsumedCapacity response field.["{ \"CapacityUnits\": number, \"GlobalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"LocalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"ReadCapacityUnits\": number, \"Table\": { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number }, \"TableName\": \"string\", \"WriteCapacityUnits\": number }"]RecommendedDevelopment
aws.dynamodb.countintThe value of the Count response parameter.10RecommendedDevelopment
aws.dynamodb.index_namestringThe value of the IndexName request parameter.name_to_groupRecommendedDevelopment
aws.dynamodb.limitintThe value of the Limit request parameter.10RecommendedDevelopment
aws.dynamodb.projectionstringThe value of the ProjectionExpression request parameter.Title; Title, Price, Color; Title, Description, RelatedItems, ProductReviewsRecommendedDevelopment
aws.dynamodb.scanned_countintThe value of the ScannedCount response parameter.50RecommendedDevelopment
aws.dynamodb.segmentintThe value of the Segment request parameter.10RecommendedDevelopment
aws.dynamodb.selectstringThe value of the Select request parameter.ALL_ATTRIBUTES; COUNTRecommendedDevelopment
aws.dynamodb.table_namesstring[]A single-element array with the value of the TableName request parameter.["Users"]RecommendedDevelopment
aws.dynamodb.total_segmentsintThe value of the TotalSegments request parameter.100RecommendedDevelopment
aws.request_idstringThe AWS request ID as returned in the response headers x-amzn-requestid, x-amzn-request-id or x-amz-request-id.79b9da39-b7ae-508a-a6bc-864b2829c622; C9ER4AJX75574TDJRecommendedDevelopment
rpc.methodstringThe name of the operation corresponding to the request, as returned by the AWS SDK [1]GetItem; PutItemRecommendedDevelopment
rpc.servicestringThe name of the service to which a request is made, as returned by the AWS SDK. [2]DynamoDB; S3RecommendedDevelopment

[1] rpc.method: This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The code.function.name attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side).

[2] rpc.service: This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The code.namespace attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side).


rpc.system has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
apache_dubboApache DubboDevelopment
connect_rpcConnect RPCDevelopment
dotnet_wcf.NET WCFDevelopment
grpcgRPCDevelopment
java_rmiJava RMIDevelopment

DynamoDB.UpdateItem

AttributeTypeDescriptionExamplesRequirement LevelStability
rpc.systemstringThe value aws-api.aws-apiRequiredDevelopment
aws.extended_request_idstringThe AWS extended request ID as returned in the response header x-amz-id-2.wzHcyEWfmOGDIE5QOhTAqFDoDWP3y8IUvpNINCwL9N4TEHbUw0/gZJ+VZTmCNCWR7fezEN3eCiQ=Conditionally Required If available.Development
aws.dynamodb.consumed_capacitystring[]The JSON-serialized value of each item in the ConsumedCapacity response field.["{ \"CapacityUnits\": number, \"GlobalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"LocalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"ReadCapacityUnits\": number, \"Table\": { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number }, \"TableName\": \"string\", \"WriteCapacityUnits\": number }"]RecommendedDevelopment
aws.dynamodb.item_collection_metricsstringThe JSON-serialized value of the ItemCollectionMetrics response field.{ "string" : [ { "ItemCollectionKey": { "string" : { "B": blob, "BOOL": boolean, "BS": [ blob ], "L": [ "AttributeValue" ], "M": { "string" : "AttributeValue" }, "N": "string", "NS": [ "string" ], "NULL": boolean, "S": "string", "SS": [ "string" ] } }, "SizeEstimateRangeGB": [ number ] } ] }RecommendedDevelopment
aws.dynamodb.table_namesstring[]A single-element array with the value of the TableName request parameter.["Users"]RecommendedDevelopment
aws.request_idstringThe AWS request ID as returned in the response headers x-amzn-requestid, x-amzn-request-id or x-amz-request-id.79b9da39-b7ae-508a-a6bc-864b2829c622; C9ER4AJX75574TDJRecommendedDevelopment
rpc.methodstringThe name of the operation corresponding to the request, as returned by the AWS SDK [1]GetItem; PutItemRecommendedDevelopment
rpc.servicestringThe name of the service to which a request is made, as returned by the AWS SDK. [2]DynamoDB; S3RecommendedDevelopment

[1] rpc.method: This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The code.function.name attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side).

[2] rpc.service: This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The code.namespace attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side).


rpc.system has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
apache_dubboApache DubboDevelopment
connect_rpcConnect RPCDevelopment
dotnet_wcf.NET WCFDevelopment
grpcgRPCDevelopment
java_rmiJava RMIDevelopment

DynamoDB.UpdateTable

AttributeTypeDescriptionExamplesRequirement LevelStability
rpc.systemstringThe value aws-api.aws-apiRequiredDevelopment
aws.extended_request_idstringThe AWS extended request ID as returned in the response header x-amz-id-2.wzHcyEWfmOGDIE5QOhTAqFDoDWP3y8IUvpNINCwL9N4TEHbUw0/gZJ+VZTmCNCWR7fezEN3eCiQ=Conditionally Required If available.Development
aws.dynamodb.attribute_definitionsstring[]The JSON-serialized value of each item in the AttributeDefinitions request field.["{ \"AttributeName\": \"string\", \"AttributeType\": \"string\" }"]RecommendedDevelopment
aws.dynamodb.consumed_capacitystring[]The JSON-serialized value of each item in the ConsumedCapacity response field.["{ \"CapacityUnits\": number, \"GlobalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"LocalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"ReadCapacityUnits\": number, \"Table\": { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number }, \"TableName\": \"string\", \"WriteCapacityUnits\": number }"]RecommendedDevelopment
aws.dynamodb.global_secondary_index_updatesstring[]The JSON-serialized value of each item in the GlobalSecondaryIndexUpdates request field.["{ \"Create\": { \"IndexName\": \"string\", \"KeySchema\": [ { \"AttributeName\": \"string\", \"KeyType\": \"string\" } ], \"Projection\": { \"NonKeyAttributes\": [ \"string\" ], \"ProjectionType\": \"string\" }, \"ProvisionedThroughput\": { \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }"]RecommendedDevelopment
aws.dynamodb.provisioned_read_capacitydoubleThe value of the ProvisionedThroughput.ReadCapacityUnits request parameter.1.0; 2.0RecommendedDevelopment
aws.dynamodb.provisioned_write_capacitydoubleThe value of the ProvisionedThroughput.WriteCapacityUnits request parameter.1.0; 2.0RecommendedDevelopment
aws.dynamodb.table_namesstring[]A single-element array with the value of the TableName request parameter.["Users"]RecommendedDevelopment
aws.request_idstringThe AWS request ID as returned in the response headers x-amzn-requestid, x-amzn-request-id or x-amz-request-id.79b9da39-b7ae-508a-a6bc-864b2829c622; C9ER4AJX75574TDJRecommendedDevelopment
rpc.methodstringThe name of the operation corresponding to the request, as returned by the AWS SDK [1]GetItem; PutItemRecommendedDevelopment
rpc.servicestringThe name of the service to which a request is made, as returned by the AWS SDK. [2]DynamoDB; S3RecommendedDevelopment

[1] rpc.method: This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The code.function.name attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side).

[2] rpc.service: This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The code.namespace attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side).


rpc.system has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
apache_dubboApache DubboDevelopment
connect_rpcConnect RPCDevelopment
dotnet_wcf.NET WCFDevelopment
grpcgRPCDevelopment
java_rmiJava RMIDevelopment

Metrics

AWS DynamoDB client instrumentations SHOULD collect metrics according to the general Semantic Conventions for Database Client Metrics.

db.system.name MUST be set to "aws.dynamodb".