Partial Transactions feature seems to be broken in 1.5.7 #513
Labels
aws-λ-extension
AWS Lambda Extension
bug
Something isn't working
community
Issues and PRs created by the community
triage
Issues and PRs that need to be triaged
APM AWS Lambda extensiom version (
apm-aws-lambda version
): 1.5.7Describe the bugIn our Java APM-Agent lambda integration tests we test the lambda layer in two scenarios in combination with the APM agent:
System.exit(-42)
, which results in exit code 214).With
1.5.7
the succesfull invocation test passed, but the the crash scenario fails.On transaction start, the APM Agent sends a "partial transaction" to the lambda layer. On a crash, that partial transaction is supposed to be turned into an actual, failed transaction and forwarded to the APM-server.
This worked in the integration test in 1.5.5, but doesn't anymore in 1.5.7.
Here are the relevant logs from the test:
Successful crash + transaction report in 1.5.5:
Successful crash without transaction being reported in 1.5.7:
As visible in the logs, for some reason the extension seems to not react to the crash is killed by the runtime environment after a two second timeout.
To Reproduce
Run the linked integration test. The lambda layer version can be altered in this line.
If desired, I think we could also just create a standalone container to run & curl against to reproduce the issue.
The text was updated successfully, but these errors were encountered: