aws / aws/aws-sdk-java-v2

Request-Id in [Operation]ItemEnhancedResponse

Open
#3,365 3 comments 0 reactions 0 assignees View on GitHub
dynamodb-enhanced feature-request p2
Dominant language
Java
Stars
2.6k
Forks
1k
Avg merge
2d 9h
Merged PRs (30d)
51

Description

### Describe the feature

Please add

- Request-Id

into [Operation]ItemEnhancedResponse classes

### Use Case

Tracing performance issues when using high level api like DynamoDbAsyncTable. Currently those ids can be retrived only through aws sdk logger. Those ids are then very hard to correlate to requests application is doing when doing merging on log level. Ideally application retrieves request ids from response object and logs it.

The use case is to retrieve the set of requests with long latency from production and getting aws support to check them in logs.

Currently request id is only in low level apis.

### Proposed Solution

Add request id when wrapping low level response to [Operation]ItemEnhancedResponse

### Other Information

_No response_

### Acknowledgements

- [X] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### AWS Java SDK version used

2.17.192

### JDK version used

openjdk version "11.0.9.1" 2020-11-04

### Operating System and version

ALL

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.