magnum/magnum/tests
Tovin Seven 32d088b2c1 Integrate OSProfiler in Magnum
* Add osprofiler wsgi middleware. This middleware is used for 2 things:
  1) It checks that person who wants to trace is trusted and knows
     secret HMAC key.
  2) It starts tracing in case of proper trace headers
     and adds first wsgi trace point, with info about HTTP request

* Add initialization of osprofiler at start of service
  Currently that includes oslo.messaging notifer instance creation
  to send Ceilometer backend notifications.

* Traces HTTP/RPC/DB API calls

Demo: https://hieulq.github.io/cluster-create-false-new-html.html

Co-Authored-By: Hieu LE <hieulq@vn.fujitsu.com>
Implements: blueprint osprofiler-support-in-magnum
Change-Id: I7d68995aab81d365433950aada078ef1fcd5469b
2017-01-24 07:43:31 +07:00
..
contrib CI: Increase master-flavor size 2017-01-11 16:38:26 +01:00
functional CI: Set storage driver to overlay 2017-01-11 16:39:54 +01:00
unit Integrate OSProfiler in Magnum 2017-01-24 07:43:31 +07:00
__init__.py Remove redundant FunctionalTest class 2015-07-15 03:39:11 +08:00
base.py Use fixtures.TempDir in unit tests 2016-05-27 15:03:34 +02:00
conf_fixture.py Centralize config option: trust section 2016-09-22 05:57:46 +00:00
fake_notifier.py Emit notifications when bay operations get executed 2016-05-19 15:29:56 +08:00
fake_policy.py Magnum stats API 2017-01-17 09:48:54 -06:00
fakes.py Move cluster status updates into driver 2016-12-01 19:52:06 -06:00
policy_fixture.py Remove redundant code about fake_policy 2015-08-07 01:29:26 +00:00
utils.py Remove redundant code from magnum.test.utils 2015-07-20 21:53:12 +08:00