iopipe-python icon indicating copy to clipboard operation
iopipe-python copied to clipboard

Reorder Profiler Data Collection Hooks

Open kolanos opened this issue 6 years ago • 0 comments

Right now the profiler plugin performs profiler data collection and upload during the pre-report hook. This poses a problem for the trace plugin as it does data collection in the same hook. Instead, the profiler plugin should perform it's data collection during post-invocation hooks and only append profiler data to the report in the pre-report hook. This will allow the trace plugin to consistently report profiler plugin performance.

kolanos avatar Jun 26 '19 17:06 kolanos