osprofiler/devstack
Hongbin Lu 3035f3def3 Add zun to devstack config
Change-Id: Id05357f9677ed4944f8c296a5aa5ea471fde86c2
2017-03-18 10:21:20 -05:00
..
lib Add zun to devstack config 2017-03-18 10:21:20 -05:00
README.rst devstack: make option hmac_keys configurable 2017-01-23 18:04:11 +02:00
plugin.sh Add DevStack plugin 2016-01-14 01:41:39 -08:00
settings devstack: make option hmac_keys configurable 2017-01-23 18:04:11 +02:00

README.rst

Enabling OSProfiler using DevStack

This directory contains the files necessary to run OpenStack with enabled OSProfiler in DevStack.

To configure DevStack to enable OSProfiler edit ${DEVSTACK_DIR}/local.conf file and add:

enable_plugin panko https://git.openstack.org/openstack/panko master
enable_plugin ceilometer https://git.openstack.org/openstack/ceilometer master
enable_plugin osprofiler https://git.openstack.org/openstack/osprofiler master

to the [[local|localrc]] section.

One can also configure a set of HMAC secrets, that are used for triggering of profiling in OpenStack services: only the requests that specify one of these keys in HTTP headers will be profiled. E.g. multiple secrets are specified as a comma-separated list of string values:

OSPROFILER_HMAC_KEYS=swordfish,foxtrot,charlie

Note

The order of enabling plugins matter.

Run DevStack as normal:

$ ./stack.sh