Skip to content

Commit 0b7efec

Browse files
committed
always instrument
1 parent 338cfb6 commit 0b7efec

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

agent/lib_aws_sdk_php.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -340,10 +340,6 @@ void nr_lib_aws_sdk_php_lambda_handle(nr_segment_t* auto_segment,
340340

341341
/* reconstruct the ARN */
342342
nr_aws_lambda_invoke(NR_EXECUTE_ORIG_ARGS, &cloud_attrs);
343-
if (NULL == cloud_attrs.cloud_resource_id) {
344-
/* we do not want to instrument if we cannot reconstruct the ARN */
345-
return;
346-
}
347343

348344
/*
349345
* By this point, it's been determined that this call will be instrumented so

0 commit comments

Comments
 (0)