DynamoDB

Statistics

The DynamoDB filter outputs statistics in the http..dynamodb. namespace. The stat prefix comes from the owning HTTP connection manager.

Per operation stats can be found in the http..dynamodb.operation.. namespace.

NameTypeDescription
upstream_rq_totalCounterTotal number of requests with <operation_name>
upstream_rq_timeHistogramTime spent on <operation_name>
upstream_rq_total_xxxCounterTotal number of requests with <operation_name> per response code (503/2xx/etc)
upstream_rq_time_xxxHistogramTime spent on <operation_name> per response code (400/3xx/etc)

Per table stats can be found in the http..dynamodb.table.. namespace. Most of the operations to DynamoDB involve a single table, but BatchGetItem and BatchWriteItem can include several tables, Envoy tracks per table stats in this case only if it is the same table used in all operations from the batch.

NameTypeDescription
upstream_rq_totalCounterTotal number of requests on <table_name> table
upstream_rq_timeHistogramTime spent on <table_name> table
upstream_rq_total_xxxCounterTotal number of requests on <table_name> table per response code (503/2xx/etc)
upstream_rq_time_xxxHistogramTime spent on <table_name> table per response code (400/3xx/etc)

Disclaimer: Please note that this is a pre-release Amazon DynamoDB feature that is not yet widely available. Per partition and operation stats can be found in the http..dynamodb.table.. namespace. For batch operations, Envoy tracks per partition and operation stats only if it is the same table used in all operations.

NameTypeDescription
capacity.<operation_name>.__partition_id=<last_seven_characters_from_partition_id>CounterTotal number of capacity for <operation_name> on <table_name> table for a given <partition_id>

Additional detailed stats:

  • For 4xx responses and partial batch operation failures, the total number of failures for a given table and failure are tracked in the http..dynamodb.error.. namespace.

    NameTypeDescription
    <error_type>CounterTotal number of specific <error_type> for a given <table_name>
    BatchFailureUnprocessedKeysCounterTotal number of partial batch failures for a given <table_name>

Runtime

The DynamoDB filter supports the following runtime settings:

dynamodb.filter_enabled

The % of requests for which the filter is enabled. Default is 100%.