Use the VMware Integrated OpenStack profiling to capture the response time of all API, RPC, driver, and database calls that are part of an OpenStack operation.
About this task
VMware Integrated OpenStack currently supports profiling of Cinder, Heat, Glance, Nova, and Neutron commands.
Make sure that you've set environment variable
OSPROFILER_CONNECTION_STRINGon the controller where you will trace the OpenStack services. See, Configure Tracing of OpenStack Services
- Enable profiling by specifying the
profileoption for a given command and provide the secret key.
cinder --profile YOUR_SECRET_KEY list
The output shows a command that you use to generate the profiling report in HTML format.
- Run the generated command from the output to generate a report, for example trace.html.
osprofiler trace show --html <UUID> > trace.html
For more information on the different options for the report, see the
osprofiler trace showcommand help.
osprofiler trace show --help