Skip to content

Commit

Permalink
fix: fixup aws detector readme (#2379)
Browse files Browse the repository at this point in the history
  • Loading branch information
legendecas committed Jul 27, 2021
1 parent e089984 commit 9c10bd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/opentelemetry-resource-detector-aws/README.md
Expand Up @@ -19,7 +19,7 @@ npm install --save @opentelemetry/resource-detector-aws

```typescript
import { detectResources } from '@opentelemetry/resources';
import { awsBeanstalkDetector } from '@opentelemetry/resource-detector-aws'
import { awsEc2Detector } from '@opentelemetry/resource-detector-aws'
const resource = await detectResources({
detectors: [awsEc2Detector],
})
Expand Down
Expand Up @@ -48,7 +48,7 @@ class AwsEc2Detector implements Detector {

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

0 comments on commit 9c10bd7

Please sign in to comment.