glance/doc/source
Boris Pavlovic 94b670c199 Integrate OSprofiler and Glance
*) Add osprofiler wsgi middleware
This middleware is used for 2 things:
1) It checks that person who want to trace is trusted and knows
secret HMAC key.
2) It start tracing in case of proper trace headers
and add first wsgi trace point, with info about HTTP request

*) Add initialization of osprofiler at start of serivce
Set's olso.messaging notifer instance (to send notifications to
Ceilometer)

*) Add tracing support for sqlalchemy

*) Add profiler CONF group that has to options:
1) Enable or disable profiler
2) Enable or disable sqlalchemy tracing
(the reason why we put this in Conf options, is that usually
db requests create a lot of trace info)

*) Glance-registry wasn't setted properly to send notifications.

To test it you need 2 things:
1) Enable ceilometer in devstack:
http://paste.openstack.org/show/85724/
2) Initialize osprofiler and send out API request. You can use
one of follow approaches:
a. Run this script (pls provide proper credentials)
http://paste.openstack.org/show/85722/
b. Use the function https://review.openstack.org/#/c/111184/
added from glanceclient CLI directly.

DocImpact

Change-Id: I45a19f5eb5304c2b78a9e12cbc0744941a807304
Co-author: Zhi Yan Liu <zhiyanl@cn.ibm.com>#
2014-08-07 21:05:16 +08:00
..
images Adding an image status transition diagram for dev doc 2013-11-25 13:13:56 +08:00
images_src Adding an image status transition diagram for dev doc 2013-11-25 13:13:56 +08:00
man fixed typos found by RETF rules in RST files 2014-05-20 10:19:20 +02:00
authentication.rst Use auth_token from keystonemiddleware 2014-07-15 18:36:14 +00:00
cache.rst fix comments and docstrings misspelled words 2014-01-08 17:03:44 +01:00
common-image-properties.rst Fix doc formatting issue 2013-07-05 16:10:21 -04:00
conf.py Switch over to oslosphinx 2014-02-14 16:31:46 +01:00
configuring.rst Integrate OSprofiler and Glance 2014-08-07 21:05:16 +08:00
controllingservers.rst Update documentation surrounding the api and registry servers 2014-06-18 09:29:28 -05:00
db.rst glance-manage should work like nova-manage 2013-11-06 14:59:33 +05:30
formats.rst Add the OVA container format 2014-03-03 19:44:21 -08:00
glanceapi.rst fixed typos found by RETF rules in RST files 2014-05-20 10:19:20 +02:00
glanceclient.rst Updates OpenStack LLC with OpenStack Foundation 2013-02-17 19:19:43 -08:00
identifiers.rst Updates OpenStack LLC with OpenStack Foundation 2013-02-17 19:19:43 -08:00
index.rst Adding new common image properties 2013-02-20 17:36:34 +00:00
installing.rst Patch changes Fedora 16 to 18 on install page. 2013-06-06 20:28:54 -05:00
notifications.rst notifier: remove notifier_strategy compat support 2014-06-16 21:36:46 +01:00
policies.rst Adding missing copy_from policy from policy.json 2013-12-13 12:22:15 +00:00
property-protections.rst Consider @,! in properties protection rule as a configuration error 2014-01-07 14:06:24 +00:00
statuses.rst Documentation for Glance tasks 2014-03-02 16:35:01 -06:00