In the Ocata release of Horizon a new “OpenStack Profiler” panel was introduced. Once it is enabled and all prerequisites are set up, you can see which API calls Horizon actually makes when rendering a specific page. To re-render the page while profiling it, you’ll need to use the “Profile” dropdown menu located in the top right corner of the screen. In order to be able to use “Profile” menu, the following steps need to be completed:
_9001_developer.py
from
openstack_dashboard/contrib/developer/enabled/
to
openstack_dashboard/local/enabled/
.openstack_dashboard/local/local_settings.d/_9030_profiler_settings.py.example
to openstack_dashboard/local/local_settings.d/_9030_profiler_settings.py
openstack_dashboard/contrib/developer/enabled/_9030_profiler.py
to
openstack_dashboard/local/enabled/_9030_profiler.py
.bindIp
key in /etc/mongod.conf
to 0.0.0.0
and
invoke sudo service mongod restart
.python manage.py collectstatic -c
and python manage.py compress
.Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.