awslabs / aws-sdk-kotlin

Multiplatform AWS SDK for Kotlin
Apache License 2.0
392 stars 47 forks source link

AWS X-Ray Support #914

Open aajtodd opened 1 year ago

aajtodd commented 1 year ago

Describe the feature

Native support for X-Ray integration similar to what is available for Java v1 and V2 SDKs.

Is your Feature Request related to a problem?

It would be great if I could instrument the AWS SDK for Kotlin with X-Ray library to enable tracing my application using the AWS X-Ray service/backend.

Proposed Solution

Minimally a custom interceptor that can be wired up. Optimally auto instrumentation (e.g. via SPI / JavaAgent).

Describe alternative solutions or features you've considered

No response

Acknowledge

AWS Kotlin SDK version used

N/A

Platform (JVM/JS/Native)

N/A

Operating System and version

N/A

aajtodd commented 1 year ago

Upstream X-Ray request for native support: https://github.com/aws/aws-xray-sdk-java/issues/381

aajtodd commented 11 months ago

NOTE: The SDK has been instrumented and has support for OpenTelemetry based provider that can be used to get data into AWS X-Ray. See the observability section of the developer guide for more details. This ticket is specifically tracking a dedicated X-Ray implementation of a telemetry (tracing) provider.