elastic / apm

Elastic Application Performance Monitoring - resources and general issue tracking for Elastic APM.
https://www.elastic.co/apm
Apache License 2.0
384 stars 114 forks source link

[META 569] Spec: Add query param flushed=true to final intake request at the end of lambda function #570

Closed AlexanderWert closed 2 years ago

AlexanderWert commented 2 years ago

issue details

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.