Skip to content

Instrument S3 spans with semantic attributes #985

@aajtodd

Description

@aajtodd

Describe the feature

OpenTelemetry/X-Ray define several additional span attributes for one or more S3 operations:

https://opentelemetry.io/docs/specs/otel/trace/semantic_conventions/instrumentation/aws-sdk/#s3
https://github.com/aws/aws-xray-sdk-java/blob/v2.14.0/aws-xray-recorder-sdk-aws-sdk-v2/src/main/resources/com/amazonaws/xray/interceptors/DefaultOperationParameterWhitelist.json

Is your Feature Request related to a problem?

It would be great if these attributes were instrumented by default in the SDK and didn't need to be set externally via an interceptor in specific instrumentation libraries (e.g. OTeL, X-Ray, etc).

Proposed Solution

Add one or more interceptors automatically registered to extend the set of attributes to include the S3 attributes documented.

Describe alternative solutions or features you've considered

No response

Acknowledge

  • I may be able to implement this feature request

AWS Kotlin SDK version used

N/A

Platform (JVM/JS/Native)

N/A

Operating System and version

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.p2This is a standard priority issuequeuedThis issues is on the AWS team's backlog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions