File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/opentelemetry-resource-detector-aws Expand file tree Collapse file tree 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
1919
2020``` typescript
2121import { detectResources } from ' @opentelemetry/resources' ;
22- import { awsBeanstalkDetector } from ' @opentelemetry/resource-detector-aws'
22+ import { awsEc2Detector } from ' @opentelemetry/resource-detector-aws'
2323const resource = await detectResources ({
2424 detectors: [awsEc2Detector ],
2525})
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments