summaryrefslogtreecommitdiff
path: root/devstack/README.rst
diff options
context:
space:
mode:
authorRoman Podoliaka <rpodolyaka@mirantis.com>2017-01-23 18:01:40 +0200
committerRoman Podoliaka <rpodolyaka@mirantis.com>2017-01-23 18:04:11 +0200
commit5d4fd50facbbec8f4e2c0dda73b96ced4bd8deff (patch)
treeb50aefc688037a90eb22ad47f287e4b9eb279407 /devstack/README.rst
parent93aec6a99fdb586970f4381f5510ae100ba875e4 (diff)
downloadosprofiler-5d4fd50facbbec8f4e2c0dda73b96ced4bd8deff.tar.gz
devstack: make option hmac_keys configurable
Let the Devstack users override the default value of option `hmac_keys` by the means of the environment variable set in local.conf. Change-Id: I0241abc4129f2d0130246723b78c584d448870a2
Diffstat (limited to 'devstack/README.rst')
-rw-r--r--devstack/README.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/devstack/README.rst b/devstack/README.rst
index eaa6436..31c3f11 100644
--- a/devstack/README.rst
+++ b/devstack/README.rst
@@ -14,6 +14,13 @@ To configure DevStack to enable OSProfiler edit
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::