File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
detectors/node/opentelemetry-resource-detector-aws/src/detectors Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments