Open
Description
Today, when I use the low level DynamoDBClient
or DynamoDBAsyncClient
, I can attach a MetricsPublisher
to the underlying GetItemRequest
, PutItemRequest
etc. However if I decide to use the DynamoDBEnhancedClient or DynamoDBEnhancedAsyncClient, there is no way to attach similar MetricsPublisher
instances to load
and save
calls.
I am aware that I can attach a MetricsPublisher
to the underlying DynamoDBClient
instance used by the DynamoDBEnhanceClient but I need to collect and publish metrics at each request level.
This is similar to how for normal GetItem calls I can attach MetricPublishers at individual request level.