Open pvicente opened 1 year ago
I think this is expected behavior. When lambda gets a timeout it means that all the code stops. So you can't execute anything in your function, it just stops. Without be able to progress datadog can't send logs. So that's why you can't see anything after timeout.
Couldn't the AWS Lambda Telemetry API help in this situation?
any news on this ?
Agent Environment
datadog-lambda-extension v29 sending logs to datadog.
Describe what happened: Final logs of the lambda execution are missed and the whole trace in APM too
Describe what you expected: All logs reported and trace of the whole execution in APMs
Steps to reproduce the issue: Use datadog-lambda-extension and run your lambda for more than the timeout you set. In my case 850 seconds
Additional environment details (Operating System, Cloud provider, etc): See child issue in https://github.com/DataDog/datadog-lambda-extension/issues/89 datadog-lambda-extension v29 and datadog libraries
Env variables
Last log received in datadog:
Missed logs in cloudwatch logs highlighted: