gnocchi: enable event_dispatcher in devstack and doc

Change-Id: I38296daea516a57d4eb2ec905d271bdd8b9fb047
This commit is contained in:
Julien Danjou 2016-09-14 16:58:38 +02:00
parent 6d301dd952
commit a1fae3f1c0
4 changed files with 4 additions and 2 deletions

View File

@ -250,7 +250,7 @@ function _ceilometer_configure_storage_backend {
elif [ "$CEILOMETER_BACKEND" = 'gnocchi' ] ; then
gnocchi_url=$(gnocchi_service_url)
iniset $CEILOMETER_CONF DEFAULT meter_dispatchers gnocchi
iniset $CEILOMETER_CONF DEFAULT event_dispatchers ""
iniset $CEILOMETER_CONF DEFAULT event_dispatchers gnocchi
# NOTE(gordc): set higher retry in case gnocchi is started after ceilometer on a slow machine
iniset $CEILOMETER_CONF storage max_retries 20
# NOTE(gordc): set batching to better handle recording on a slow machine

View File

@ -133,6 +133,7 @@ For Gnocchi dispatcher, the following configuration settings should be added::
[DEFAULT]
meter_dispatchers = gnocchi
event_dispatchers = gnocchi
[dispatcher_gnocchi]
archive_policy = low

View File

@ -84,6 +84,7 @@ backend::
[DEFAULT]
meter_dispatchers=database
meter_dispatchers=gnocchi
event_dispatchers=gnocchi
.. _Gnocchi: http://gnocchi.xyz
.. _here: https://docs.google.com/presentation/d/1PefouoeMVd27p2OGDfNQpx18mY-Wk5l0P1Ke2Vt5LwA/edit?usp=sharing

View File

@ -45,7 +45,7 @@ Gnocchi
[DEFAULT]
meter_dispatchers = gnocchi
event_dispatchers =
event_dispatchers = gnocchi
[dispatcher_gnocchi]
filter_service_activity = False # Enable if using swift backend