Automatic flow and task metrics

Registered by Joshua Harlow

Since taskflow controls how task + flows run via engines it seems logical to add metrics at the engine level between tasks and flows. This will offer automatic metric gathering and tracing to users of the taskflow library. It would be great if there could be a simple pluggable object/class/api that could be registered with an engine to do this kind of activity.

Once osprofiler appears it seems like we can integrate with this nicely.

https://github.com/pboris/osprofiler/

Blueprint information

Status:
Not started
Approver:
Joshua Harlow
Priority:
Medium
Drafter:
Joshua Harlow
Direction:
Approved
Assignee:
None
Definition:
Discussion
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

why make assumptions about the profiling system? Why not just publish notifications as per normal and let downstream systems do things like profiling? -Sandy

agreed; i would consider this more of like a nice add-on (perhaps it doesn't need to be in-tree), maybe it could even just be a documented example that says to use this other openstack/stackforge library (osprofiler) without much work do XYZ and most of the work will be done for u by taskflow - Josh

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.