File tree 2 files changed +2
-2
lines changed
packages/opentelemetry-resource-detector-aws
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ npm install --save @opentelemetry/resource-detector-aws
19
19
20
20
``` typescript
21
21
import { detectResources } from ' @opentelemetry/resources' ;
22
- import { awsBeanstalkDetector } from ' @opentelemetry/resource-detector-aws'
22
+ import { awsEc2Detector } from ' @opentelemetry/resource-detector-aws'
23
23
const resource = await detectResources ({
24
24
detectors: [awsEc2Detector ],
25
25
})
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ class AwsEc2Detector implements Detector {
48
48
49
49
/**
50
50
* 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}
52
52
* populated with instance metadata. Returns a promise containing an
53
53
* empty {@link Resource} if the connection or parsing of the identity
54
54
* document fails.
You can’t perform that action at this time.
0 commit comments