Skip to content

Protocol Integration

DynamoDB protocol metrics (throughput, latency, errors) are captured out-of-the-box by collectors running with EPOCH_ANALYSIS_DEPTH=layer7.

DynamoDB infrastructure metrics can be viewed using AWS CloudWatch integration.

Amazon DynamoDB is a fast and flexible NoSQL database service for all applications that need consistent, single-digit millisecond latency at any scale. It is a fully managed cloud database and supports both document and key-value store models. Its flexible data model and reliable performance make it a great fit for mobile, web, gaming, ad tech, IoT, and many other applications.

Attributes

For DynamoDB, below attributes can be used in filters and group by operations in analytics within alerts, dashboards, etc.

Metric Description Value / Example
dynamodb.Key.x.x A multi-valued dimension that tracks the contents of primary key in DynamoDB transactions "Key": {
"ForumName": {
"S": "Amazon DynamoDB"
},
"Subject": {
"S": "How do I update multiple items?"
}
}
dynamodb.action The database action CreateTable, GetItem, Query etc.
dynamodb.error.code Numeric error code In this error message: ERROR 1146 (42S02): Table 'test.no_such_table' doesn't exist, the error code is 1146.
dynamodb.error.message Textual description of the error In this error message: ERROR 1146 (42S02): Table 'test.no_such_table' doesn't exist, error string is Table 'test.no_such_table' doesn't exist
dynamodb.httpstatuscode HTTP status code 200, 400, 500
dynamodb.table The dynamodb table

There are some attributes that are common across the integrations. The description to the relevant attributes for this integration can be found here: shared attributes

Datasources

Datasource Available Aggregations Unit Description
dynamodb.httpstatuscode.bytes.p5 avg min max byte 5th percentile bytes i.e., 5% of requests have lower number of bytes.
dynamodb.httpstatuscode.bytes.p50 avg min max byte 50th percentile bytes i.e., 50% of requests have lower number of bytes.
dynamodb.httpstatuscode.bytes.p95 avg min max byte 95th percentile bytes i.e., 95% of requests have lower number of bytes.
dynamodb.request_response.latency sum avg min max std_dev millisecond The aggregated latency across all Dynamodb request/response.
dynamodb.request_response.throughput throughput /s The total number of Dynamodb request/response per second.
dynamodb.request_response.count count The total number of Dynamodb request/response.
dynamodb.request.bytes sum avg min max byte The aggregated number of bytes across all Dynamodb requests.
dynamodb.request.bytes.rate rate byte/s The rate of bytes transferred across all Dynamodb requests.
dynamodb.request.count count The total number of Dynamodb requests.
dynamodb.request.packets sum avg min max packet The aggregated number of packets across all Dynamodb requests.
dynamodb.request.packets.rate rate packet/s The rate of packets transferred across all Dynamodb requests.
dynamodb.request.throughput throughput /s The rate of total number of Dynamodb requests.
dynamodb.response.bytes sum avg min max byte The aggregated number of bytes across all Dynamodb responses.
dynamodb.response.bytes.rate rate byte/s The rate of bytes transferred across all Dynamodb responses.
dynamodb.response.count count The total number of Dynamodb responses.
dynamodb.response.packets sum avg min max packet The aggregated number of packets across all Dynamodb responses.
dynamodb.response.packets.rate rate packet/s The rate of packets transferred across all Dynamodb responses.
dynamodb.response.throughput throughput /s The rate of total number of Dynamodb responses.