Lauri Tulmin 6269eb57b4 Fix aws-sdk latest dep tests (#3646) 3 ani în urmă
..
src 15ed01d4fc Change all instrumentation names to io.opentelemetry.{libName}-{libVersion} (#3411) 3 ani în urmă
README.md c5a257619a Make sure AWS SDK spans suppress client spans all the time. (#1837) 4 ani în urmă
build.gradle.kts 6269eb57b4 Fix aws-sdk latest dep tests (#3646) 3 ani în urmă

README.md

AWS Java SDK v2 Instrumentation

Instrumentation for AWS Java SDK v2.

Usage

To register instrumentation on an SDK client, register the interceptor when creating it.

DynamoDbClient client = DynamoDbClient.builder()
  .overrideConfiguration(ClientOverrideConfiguration.builder()
    .addExecutionInterceptor(AwsSdk.newInterceptor()))
    .build())
  .build();

Trace propagation

The AWS SDK instrumentation currently only supports injecting the trace header into the request using the AWS Trace Header format. This format is the only format recognized by AWS managed services, and populating will allow propagating the trace through them. If this does not fulfill your use case, perhaps because you are using the same SDK with a different non-AWS managed service, let us know so we can provide configuration for this behavior.