Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Service Map does not show S3 bucket name #390

Open
Swish4114 opened this issue Nov 21, 2023 · 1 comment
Open

Bug: Service Map does not show S3 bucket name #390

Swish4114 opened this issue Nov 21, 2023 · 1 comment
Assignees

Comments

@Swish4114
Copy link

The service map in CloudWatch / X-Ray does not show the bucket name:
image

I guess it is similar to the following issue (just for S3 instead of SQS): #373

The file https://github.com/aws/aws-xray-sdk-java/blob/master/aws-xray-recorder-sdk-aws-sdk-v2/src/main/resources/com/amazonaws/xray/interceptors/DefaultOperationParameterWhitelist.json seems to be misconfigured.

The name of the bucket name key is wrong. It is "BucketName", but it should be only "Bucket". See the debugger inside the DeleteObjectRequest class ("BucketName" does not match "Bucket" inside the switch case):
image

For example

"DeleteObject": {
  "request_parameters": [
    "Key",
    "BucketName"
  ]
},

should probably be

"DeleteObject": {
  "request_parameters": [
    "Key",
    "Bucket"
  ]
},
@atshaw43
Copy link
Contributor

Thanks for bringing this to our attention!
I have merged in a fix that will be in our next release.

#393

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants