Skip to content

Commit 9c10bd7

Browse files
authoredJul 27, 2021
fix: fixup aws detector readme (#2379)
1 parent e089984 commit 9c10bd7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎packages/opentelemetry-resource-detector-aws/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ npm install --save @opentelemetry/resource-detector-aws
1919

2020
```typescript
2121
import { detectResources } from '@opentelemetry/resources';
22-
import { awsBeanstalkDetector } from '@opentelemetry/resource-detector-aws'
22+
import { awsEc2Detector } from '@opentelemetry/resource-detector-aws'
2323
const resource = await detectResources({
2424
detectors: [awsEc2Detector],
2525
})

‎packages/opentelemetry-resource-detector-aws/src/detectors/AwsEc2Detector.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class AwsEc2Detector implements Detector {
4848

4949
/**
5050
* Attempts to connect and obtain an AWS instance Identity document. If the
51-
* connection is succesful it returns a promise containing a {@link Resource}
51+
* connection is successful it returns a promise containing a {@link Resource}
5252
* populated with instance metadata. Returns a promise containing an
5353
* empty {@link Resource} if the connection or parsing of the identity
5454
* document fails.

0 commit comments

Comments
 (0)
Please sign in to comment.