python-openstackclient/openstackclient
Dina Belova 16f00833a7 Add shell --profile option to trigger osprofiler from CLI
This will allow to trigger profiling of various services that
allow it currently and which APIs support is added to openstackclient.
Cinder and Glance have osprofiler support already, Nova and Keystone
are in progress.

To use this functionality osprofiler (and its storage backend) needs
to be installed in the environment. If so, you will be able to trigger
profiling via the following command, for example:

$ openstack --profile SECRET_KEY user list

At the end of output there will be message with <trace_id>, and
to plot nice HTML graphs the following command should be used:

$ osprofiler trace show <trace_id> --html --out result.html

Related Keystone change: https://review.openstack.org/#/c/103368/
Related Nova change: https://review.openstack.org/#/c/254703/

The similar change to the keystoneclient
(https://review.openstack.org/#/c/255308/) was abandoned as new
CLI extenstions are not more accepted to python-keystoneclient.

Change-Id: I3d6ac613e5da70619d0a4781e5d066fde073b407
2016-02-25 20:13:27 +00:00
..
api Fix a spell typos 2016-02-03 15:47:25 +05:30
common Merge "Support listing network availability zones" 2016-02-04 00:40:09 +00:00
compute Add support for triggering an crash dump 2016-02-05 21:48:41 +08:00
identity log take_action parameters in a single place 2016-02-02 09:58:32 +09:00
image Add --marker option to "image list" command 2016-02-03 14:04:50 +08:00
locale Update translation setup 2016-01-29 08:18:50 +09:00
network Merge "Minor typo in help text" 2016-02-04 00:43:09 +00:00
object Add recursive object delete for containers 2016-02-05 11:18:46 -07:00
tests Add shell --profile option to trigger osprofiler from CLI 2016-02-25 20:13:27 +00:00
volume log take_action parameters in a single place 2016-02-02 09:58:32 +09:00
__init__.py
i18n.py Update translation setup 2016-01-29 08:18:50 +09:00
shell.py Add shell --profile option to trigger osprofiler from CLI 2016-02-25 20:13:27 +00:00