Mackerel supports obtaining and monitoring Amazon DynamoDB metrics in AWS Integration. When integrating with AWS Integration, billable targets are determined using the conversion 1 Table = 1 Micro Host. In addition to this, depending on the number of metrics retrieved, you may be charged for exceeding the maximum number of metrics per micro host.
Please refer to the following page for AWS Integration configuration methods and a list of supported AWS services.
AWS Integration
Obtaining metrics
The metrics obtainable with AWS Integration’s DynamoDB support are as follows. For Metric
explanations, refer to the AWS help page.
The maximum number of metrics obtainable is 15 + 6 * (number of operation types)
. Plus an additional 10 metrics if the stream is enabled.
Metrics per table
Graph name | Metric | Metric name in Mackerel | Unit | Statistics |
---|---|---|---|---|
ReadCapacityUnits | ProvisionedReadCapacityUnits ConsumedReadCapacityUnits |
dynamodb.read_capacity_units.provisioned dynamodb.read_capacity_units.consumed |
float | Average Sum |
WriteCapacityUnits | ProvisionedWriteCapacityUnits ConsumedWriteCapacityUnits |
dynamodb.write_capacity_units.provisioned dynamodb.write_capacity_units.consumed |
float | Average Sum |
Requests | ConditionalCheckFailedRequests SuccessfulRequestLatency ThrottledRequests UserErrors SystemErrors |
dynamodb.requests.conditional_check_failed_requests dynamodb.requests.success_requests dynamodb.requests.throttled_requests dynamodb.requests.user_errors dynamodb.requests.system_errors |
integer | Sum SampleCount Sum Sum SampleCount |
ThrottleEvents | ReadThrottleEvents WriteThrottleEvents |
dynamodb.throttle_events.read_throttle_events dynamodb.throttle_events.write_throttle_events |
integer | Sum Sum |
TimeToLiveDeletedItemCount | TimeToLiveDeletedItemCount | dynamodb.time_to_live_deleted_item_count.count | integer | Sum |
SuccessfulRequestLatency | SuccessfulRequestLatency | dynamodb.successful_request_latency.#.minimum dynamodb.successful_request_latency.#.average dynamodb.successful_request_latency.#.maximum |
float | Minimum Average Maximum |
ReturnedItemCount | ReturnedItemCount | dynamodb.returned_item_count.#.minimum dynamodb.returned_item_count.#.average dynamodb.returned_item_count.#.maximum |
float | Minimum Average Maximum |
RequestCount | ReturnedItemCount | dynamodb.request_count.requests | integer | SampleCount |
TransactionConflict | TransactionConflict | dynamodb.transaction_conflict.item_level dynamodb.transaction_conflict.request_level |
integer | Sum SampleCount |
- Among the metrics displayed in Requests, metrics generated for each operation are aggregated and displayed.
- Similar to UpdateItem, the DynamoDB operation name is actually included in the # of "Mackerel metrics".
- SuccessfullRequestLatency provides the following two types of information.
- The elapsed time of successful request(Minimum, Maximum, or Average)
- The number of successful requests(SampleCount)
Metrics per stream
In addition to the above, the following metrics can be collected when a DynamoDB Stream is enabled for the target table.
Graph name | Metric | Metric name in Mackerel | Unit | Statistics |
---|---|---|---|---|
Stream ReturnedBytes | ReturnedBytes | dynamodb.returned_bytes.GetRecords.minimum dynamodb.returned_bytes.GetRecords.average dynamodb.returned_bytes.GetRecords.maximum |
bytes | Minimum Average Maximum |
Stream ReturnedRecordsCount | ReturnedRecordsCount | dynamodb.returned_records_count.GetRecords.minimum dynamodb.returned_records_count.GetRecords.average dynamodb.returned_records_count.GetRecords.maximum |
float | Minimum Average Maximum |
Stream RequestCount | ReturnedRecordsCount | dynamodb.request_count_streams.GetRecords.requests | integer | SampleCount |
Stream SuccessfulRequestLatency | SuccessfulRequestLatency | dynamodb.successful_request_latency_streams.GetRecords.minimum dynamodb.successful_request_latency_streams.GetRecords.average dynamodb.successful_request_latency_streams.GetRecords.maximum |
float | Minimum Average Maximum |
Precautions
Among the graphs/metrics obtainable with AWS Integration, metrics included in the following graphs are obtained in 5 minute intervals.
- ReadCapacityUnits
- ProvisionedReadCapacityUnits
- WriteCapacityUnits
- ProvisionedWriteCapacityUnits