awslabs / aws-sdk-kotlin

Multiplatform AWS SDK for Kotlin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instrument S3 spans with semantic attributes

aajtodd opened this issue · comments

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