diff options
| author | Ilya Shakhat <shakhat@gmail.com> | 2017-12-12 14:44:44 +0100 |
|---|---|---|
| committer | Ilya Shakhat <shakhat@gmail.com> | 2017-12-15 15:07:18 +0100 |
| commit | f15a7e47e6b9c088a2f3ab8f6d760a519cfafcd2 (patch) | |
| tree | 0975f716f9cc0a7df0cc4257d4a9b254f1419976 /devstack/settings | |
| parent | 23e53ec9eb445a032fc85666698cd94c19174d75 (diff) | |
| download | osprofiler-f15a7e47e6b9c088a2f3ab8f6d760a519cfafcd2.tar.gz | |
Make collector configurable in DevStack plugin
In DevStack OSProfiler is by default configured to use messaging
driver with Ceilometer backend. User can change the driver, but
still needs to install collector/storage manually. This patch
introduces configuration option `OSPROFILER_COLLECTOR` which is
used to specify which collector/storage to install into DevStack.
Currently 2 values are supported:
* `redis` to install Redis server and use Redis driver
* <empty> to keep the default behavior and use messaging driver
To test the patch on DevStack, the following lines are needed in local.conf:
enable_plugin osprofiler https://git.openstack.org/openstack/osprofiler refs/changes/06/527406/5
OSPROFILER_BRANCH=refs/changes/06/527406/5
OSPROFILER_COLLECTOR=redis
Change-Id: Ia9763605db95b3f35c8b0e51211f96ee0dd3a82d
Diffstat (limited to 'devstack/settings')
| -rw-r--r-- | devstack/settings | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/devstack/settings b/devstack/settings index fea08c2..ac689c9 100644 --- a/devstack/settings +++ b/devstack/settings @@ -4,6 +4,5 @@ # of profiling in OpenStack services: profiling is only performed for # requests that specify one of these keys in HTTP headers. OSPROFILER_HMAC_KEYS=${OSPROFILER_HMAC_KEYS:-"SECRET_KEY"} -OSPROFILER_CONNECTION_STRING=${OSPROFILER_CONNECTION_STRING:-"messaging://"} enable_service osprofiler |
