You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.