From 0b7efecd9fc73afea69a8323c3317ec32af583ed Mon Sep 17 00:00:00 2001 From: Zach Neumann Date: Wed, 26 Feb 2025 11:51:35 -0700 Subject: [PATCH] always instrument --- agent/lib_aws_sdk_php.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/agent/lib_aws_sdk_php.c b/agent/lib_aws_sdk_php.c index 5694443a7..525a2c2eb 100644 --- a/agent/lib_aws_sdk_php.c +++ b/agent/lib_aws_sdk_php.c @@ -340,10 +340,6 @@ void nr_lib_aws_sdk_php_lambda_handle(nr_segment_t* auto_segment, /* reconstruct the ARN */ nr_aws_lambda_invoke(NR_EXECUTE_ORIG_ARGS, &cloud_attrs); - if (NULL == cloud_attrs.cloud_resource_id) { - /* we do not want to instrument if we cannot reconstruct the ARN */ - return; - } /* * By this point, it's been determined that this call will be instrumented so