.. _config_http_filters_dynamo: DynamoDB ======== * DynamoDB :ref:`architecture overview ` * :ref:`v3 API reference ` * This filter should be configured with the name *envoy.filters.http.dynamo*. Statistics ---------- The DynamoDB filter outputs statistics in the *http..dynamodb.* namespace. The :ref:`stat prefix ` comes from the owning HTTP connection manager. Per operation stats can be found in the *http..dynamodb.operation..* namespace. .. csv-table:: :header: Name, Type, Description :widths: 1, 1, 2 upstream_rq_total, Counter, Total number of requests with upstream_rq_time, Histogram, Time spent on upstream_rq_total_xxx, Counter, Total number of requests with per response code (503/2xx/etc) upstream_rq_time_xxx, Histogram, Time spent on 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. .. csv-table:: :header: Name, Type, Description :widths: 1, 1, 2 upstream_rq_total, Counter, Total number of requests on table upstream_rq_time, Histogram, Time spent on table upstream_rq_total_xxx, Counter, Total number of requests on table per response code (503/2xx/etc) upstream_rq_time_xxx, Histogram, Time spent on 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. .. csv-table:: :header: Name, Type, Description :widths: 1, 1, 2 capacity..__partition_id=, Counter, Total number of capacity for on table for a given 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. .. csv-table:: :header: Name, Type, Description :widths: 1, 1, 2 , Counter, Total number of specific for a given BatchFailureUnprocessedKeys, Counter, Total number of partial batch failures for a given Runtime ------- The DynamoDB filter supports the following runtime settings: dynamodb.filter_enabled The % of requests for which the filter is enabled. Default is 100%.