Osprofiler trace_cls has various issues
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
osprofiler |
In Progress
|
Undecided
|
Unassigned |
Bug Description
So the usage of @trace_cls has various issues.
1. It doesn't work with subclassing correctly.
If u check out https:/
2. It doesn't work when stacked, if multiple @trace_cls are done, then this will generate some weird crap/hierarchy of decorators that will be traced (this is also related to subclassing).
3. If a subclass uses different arguments to @trace_cls, differing from what its parent used, the subclass @trace_cls settings will overwrite its parents, and weird crap will come out.
The traced meta class may also be affected by some of the above...
description: | updated |
Changed in osprofiler: | |
status: | New → Confirmed |
Change abandoned by Joshua Harlow (<email address hidden>) on branch: master /review. openstack. org/273294
Review: https:/