From ff2fb0e5ec51040d0f36eaa43e21c6812a1753c9 Mon Sep 17 00:00:00 2001 From: Sergey Skripnick Date: Wed, 2 Jul 2014 12:32:17 +0300 Subject: [PATCH] Add option to edit ceilometer notification topics To enable OSprofiler we should be able to add "profiler" notification topic to ceilometer notification topics. It won't add any overhead to Ceilometer until we start using OSprofiler. To use OSprofiler we have to add special trace information in request headers that will produce actually trigger profiler, that will send bunch of notifications. This mostly will be used by Rally, and probably one of Tempest job, after we integrate osprofiler to tempest. More about osprofiler: https://github.com/stackforge/osprofiler Change-Id: I78bb3f8cbe211b5233ab9645718099d521f9b10b --- devstack-vm-gate.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/devstack-vm-gate.sh b/devstack-vm-gate.sh index c45c87c0..1608de95 100755 --- a/devstack-vm-gate.sh +++ b/devstack-vm-gate.sh @@ -227,6 +227,13 @@ EOF # that run under HTTPD (mod_wsgi) by default. echo "ENABLE_HTTPD_MOD_WSGI_SERVICES=False" >> localrc fi + + if [[ "$CEILOMETER_NOTIFICATION_TOPICS" ]]; then + # Add specified ceilometer notification topics to localrc + # Set to notifications,profiler to enable profiling + echo "CEILOMETER_NOTIFICATION_TOPICS=$CEILOMETER_NOTIFICATION_TOPICS" >>localrc + fi + if [[ "$DEVSTACK_GATE_TEMPEST_NOVA_V3_API" -eq "1" ]]; then echo "TEMPEST_NOVA_API_V3=True" >> localrc fi