python - Getting information about function execution time/billing and if the function call was successful -


i'm using sns trigger lambda functions in aws. works fine , expected, i'm wondering if there way feedback execution times , if exception raised within function.

obviously there exception handling code in lambda functions of business logic, i'm thinking cases external program (like ghostscript) might end in endless loop , terminated 10 minute lambda limit.

as far know can if invoke method in synchronous fashion, can't seem find way information how long execution lasted , if bad happened.

is there way subscribe execution errors or similar, or have callback aws (not code) when exception or timeout occurs?

exceptions of lambda functions in logs, streamed aws cloudwatch logs. execution time stored lambda duration metric in cloudwatch. need setup cloudwatch alerts on items notified.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

unity3d - Fatal error- Monodevelop-Unity failed to start -