What/Why:
While adding metrics instances to gather data on average function call performance from the Orchestrator, the metrics endpoint revealed there can be up to (or perhaps even more for other function calls we haven't tried) a dozen calls made per function call to execute(). Furthermore, the function gets called by several other ZObjects before the initial one is returned (see details in comments). We need to figure out if this is simply an err in the returned data (err with the new metrics logic added or how it is being used) or if this is a revelation of an unknown gnarly bug.
How:
- [Spike] figure out why this is occurring