Skip to content

Commit

Permalink
always instrument
Browse files Browse the repository at this point in the history
  • Loading branch information
ZNeumann committed Feb 26, 2025
1 parent 338cfb6 commit 0b7efec
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions agent/lib_aws_sdk_php.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b7efec

Please sign in to comment.