tempest/tempest/lib
Ilya Shakhat 1291bb4736 Add profiler support into Tempest
The primary goal is to be able to run all Tempest tests
and verify OpenStack when profiling is enabled. Also this patch
allows to:
 * manually verify that certain services are properly instrumented
   and produce trace events when a scenario is executed;
 * write automatic tests for trace coverage;
 * profile certain tests from performance perspective.

A new parameter is introduced into tempest.conf:
 * profiler.key - the key used to enable OSProfiler (should
     match the one configured in OpenStack services)

To test the patch on DevStack:
 1. Enable osprofiler with Redis collector in local.conf:

   enable_plugin osprofiler https://git.openstack.org/openstack/osprofiler master
   OSPROFILER_COLLECTOR=redis

 2. Run all Tempest tests or select some, e.g.:

   tempest run --regex tempest.api.network.test_networks.NetworksTest.test_list_networks*

Change-Id: I64f30c36adbf7fb26609142f22d3e305ac9e82b5
2019-02-16 08:10:28 +00:00
..
api_schema Add response schema validation for volume qos-specs 2018-09-26 09:03:29 +08:00
cli Use --os-endpoint-type for Cinder CLI 2018-07-31 17:45:51 -05:00
cmd Fix E117 for pycodestyle (pep8) 2.5.0 2019-01-29 16:19:49 -05:00
common Add profiler support into Tempest 2019-02-16 08:10:28 +00:00
services Normalize endpoint path in oauth client 2019-02-12 15:43:59 +01:00
__init__.py Migrate tempest-lib code into new lib dir 2016-02-23 14:15:04 -05:00
auth.py Add missing ws seperator between words 2018-11-16 15:34:56 +08:00
base.py Fix code to pass pep8 Tox environment. 2018-04-12 11:09:37 +02:00
decorators.py Added storyboard integration to tempest.lib decorators 2018-07-14 19:17:12 -04:00
exceptions.py Change Conflict's error message 2017-11-23 16:51:37 +08:00