Update README.md - typo fix (#12376)

This commit is contained in:
Rajat Arora 2024-10-01 16:38:05 -07:00 committed by GitHub
parent b1845878bd
commit c6c0bb1041
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -9,10 +9,10 @@ To instrument all AWS SDK clients include the `opentelemetry-aws-sdk-2.2-autocon
To register instrumentation only on a specific SDK client, register the interceptor when creating it.
```java
AwsSdkTelemetry telemetrty = AwsSdkTelemetry.create(openTelemetry).build();
AwsSdkTelemetry telemetry = AwsSdkTelemetry.create(openTelemetry).build();
DynamoDbClient client = DynamoDbClient.builder()
.overrideConfiguration(ClientOverrideConfiguration.builder()
.addExecutionInterceptor(telemetrty.newExecutionInterceptor()))
.addExecutionInterceptor(telemetry.newExecutionInterceptor()))
.build())
.build();
```