FAQ | This is a LIVE service | Changelog

Add execution info functionality

Description

Extend new decorators in ucam-faas with execution info to capture information about the execution of a handler when triggered.

Further details

Execution info should include:

  • Time taken
  • Status of handler
    • Additional exception notes/information if provided
  • For refinement: Anything else?

Execution info should either be generated by the framework, or the handler function itself can opt to return an execution info object to communicate its return status and other information to the framework. If an execution info object is returned, some computed fields will need to be added by the framework.

After function execution the complete execution info object should be logged using a ucam-observe structlog logger.

Task list

Acceptance criteria

  • Functions always log a populated execution info object on completion

Links/references

Edited by Mike Knee