horizon/openstack_dashboard/contrib/developer
Paul Karikh e2cf94eb46 Enable profiling of angular pages (with async requests)
The main difficulty in tracing async requests which are made during
the rendering of Angular-based pages is tracking the root request (the
one which was made to render the skeleton page which then initiated
all other requests) throughout other requests, so they form a cohesive
trace. This is solved by capturing the root request id and exposing it
as a profiler module constant in the process of interpolating
_scripts.html Django template. Then if that constant is not an empty
dictionary, profiler module intercepts all Angular requests and adds
osprofiler headers to them.

This patch also fixes issues which arose after transitioning to the
new version of angular-bootstrap.

Change-Id: I656028b969289a473f54594681d9313ff8a07fd8
2016-12-29 18:26:19 +03:00
..
enabled Add the Profiler panel to the Developer dashboard 2016-12-01 22:29:16 +03:00
profiler Enable profiling of angular pages (with async requests) 2016-12-29 18:26:19 +03:00
resource_browser Consolidated common angular view 2016-11-17 12:07:16 -08:00
static/dashboard/developer Enable profiling of angular pages (with async requests) 2016-12-29 18:26:19 +03:00
theme_preview Merge "Renamed bootstrap theme preview page" 2016-11-09 02:39:34 +00:00
__init__.py Add Developer Dashboard + Bootstrap Theme Preview 2015-12-06 12:04:11 +00:00
dashboard.py Move Developer enabled/ files to contrib 2016-09-23 10:59:20 +00:00
tests.py Add Developer Dashboard + Bootstrap Theme Preview 2015-12-06 12:04:11 +00:00