Write Spec for:
The AWS lambda extension flushes the APM data it has collected to the APM server and considers the function invocation complete when it receives an agent intake request with the query param flushed=true. This will most likely optimize the overall execution duration because the extension won't have to wait for the Logs API signal that the function completed.
Ensure that the final intake request to the extension from the agent contains the query param flushed=true.
Write Spec for: The AWS lambda extension flushes the APM data it has collected to the APM server and considers the function invocation complete when it receives an agent intake request with the query param
flushed=true
. This will most likely optimize the overall execution duration because the extension won't have to wait for the Logs API signal that the function completed.Ensure that the final intake request to the extension from the agent contains the query param
flushed=true
.