Skip to content

Allow attaching MetricPublisher for DynamoDBEnhanced and DynamoDBEnhancedAsyncClient client calls #2514

Open
@swaranga

Description

@swaranga

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions