To enable OSprofiler we should be able to add "profiler" notification
topic to ceilometer notification topics.
More about OSprofiler:
https://github.com/stackforge/osprofiler
More about ceilometer plugin:
https://review.openstack.org/#/c/100239/
Sample of trace (via Cinder and Nova Services):
http://pavlovic.me/rally/profiler/
Change-Id: I6137174a3ecddd58f62e0f98b235b71b1c070f13
| ... | ... |
@@ -53,6 +53,9 @@ CEILOMETER_SERVICE_PROTOCOL=http |
| 53 | 53 |
CEILOMETER_SERVICE_HOST=$SERVICE_HOST |
| 54 | 54 |
CEILOMETER_SERVICE_PORT=${CEILOMETER_SERVICE_PORT:-8777}
|
| 55 | 55 |
|
| 56 |
+# To enable OSprofiler change value of this variable to "notifications,profiler" |
|
| 57 |
+CEILOMETER_NOTIFICATION_TOPICS=${CEILOMETER_NOTIFICATION_TOPICS:-notifications}
|
|
| 58 |
+ |
|
| 56 | 59 |
# Tell Tempest this project is present |
| 57 | 60 |
TEMPEST_SERVICES+=,ceilometer |
| 58 | 61 |
|
| ... | ... |
@@ -141,7 +144,7 @@ function configure_ceilometer {
|
| 141 | 141 |
|
| 142 | 142 |
iniset_rpc_backend ceilometer $CEILOMETER_CONF DEFAULT |
| 143 | 143 |
|
| 144 |
- iniset $CEILOMETER_CONF DEFAULT notification_topics 'notifications' |
|
| 144 |
+ iniset $CEILOMETER_CONF DEFAULT notification_topics "$CEILOMETER_NOTIFICATION_TOPICS" |
|
| 145 | 145 |
iniset $CEILOMETER_CONF DEFAULT verbose True |
| 146 | 146 |
iniset $CEILOMETER_CONF DEFAULT debug "$ENABLE_DEBUG_LOG_LEVEL" |
| 147 | 147 |
|