Skip to content

Commit 77c19b4

Browse files
committed
update comments
1 parent 90ec5c1 commit 77c19b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsLambdaDetectorSync.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ export class AwsLambdaDetectorSync implements DetectorSync {
4747
return Resource.empty();
4848
}
4949

50-
// These environment variables are guaranteed to be present in AWS Lambda
50+
// These environment variables are guaranteed to be present in Lambda environment
5151
// https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-runtime
5252
const region = process.env.AWS_REGION;
5353
const functionName = process.env.AWS_LAMBDA_FUNCTION_NAME;
5454
const functionVersion = process.env.AWS_LAMBDA_FUNCTION_VERSION;
5555
const memorySize = process.env.AWS_LAMBDA_FUNCTION_MEMORY_SIZE;
5656

57-
// These environment variables are not available in Lambda SnapStart
57+
// These environment variables are not available in Lambda SnapStart functions
5858
const logGroupName = process.env.AWS_LAMBDA_LOG_GROUP_NAME;
5959
const logStreamName = process.env.AWS_LAMBDA_LOG_STREAM_NAME;
6060

0 commit comments

Comments
 (0)