From bb699bc3df866361fd3afea089eb1a263ad1a39d Mon Sep 17 00:00:00 2001 From: gordon chung Date: Thu, 4 Feb 2016 11:20:37 -0500 Subject: [PATCH] set higher batching requirement in practice, there are much more than 10 resources on the queue at any given time so the amount of grouping done is minimal currently. let's set a higher number so we have more groupings Change-Id: I6bd0b9797f3a90c744002f4cf364faa696ab63ec Closes-Bug: #1536277 --- devstack/plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 9e838941..187accd8 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -254,7 +254,7 @@ function _ceilometer_configure_storage_backend { # 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 - iniset $CEILOMETER_CONF collector batch_size 10 + iniset $CEILOMETER_CONF collector batch_size 50 iniset $CEILOMETER_CONF collector batch_timeout 5 iniset $CEILOMETER_CONF dispatcher_gnocchi url $gnocchi_url iniset $CEILOMETER_CONF dispatcher_gnocchi archive_policy ${GNOCCHI_ARCHIVE_POLICY}