summaryrefslogtreecommitdiff
path: root/devstack
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2017-06-20 17:04:45 +0200
committerJulien Danjou <julien@danjou.info>2017-07-11 17:35:23 +0200
commitb62fa85400163d4aa81e9f9960bfa0e0eadd53ea (patch)
treefb7bd7eddc0f356bc1cf08412ed6d5e36780ad39 /devstack
parent9360743ccb074335c79db6bd1da78116eef41204 (diff)
downloadceilometer-b62fa85400163d4aa81e9f9960bfa0e0eadd53ea.tar.gz
Limit the default numbers of metrics polled
Enabling everything to be polled and transformed by default is quite heavy and can lead to a massive amount of unused metrics. Limit the default to a few metrics known to be actually useful to common deployers. We keep all pollsters enabled on unit tests and devstack. Change-Id: Ifb5aa684e575b7904726276b7205824f2dcaa7ce
Diffstat (limited to 'devstack')
-rw-r--r--devstack/plugin.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/devstack/plugin.sh b/devstack/plugin.sh
index 81a7a2e4..5b6fb2a4 100644
--- a/devstack/plugin.sh
+++ b/devstack/plugin.sh
@@ -351,9 +351,10 @@ function configure_ceilometer {
# with rootwrap installation done elsewhere and also clobber
# ceilometer.conf settings that have already been made.
# Anyway, explicit is better than implicit.
- for conffile in policy.json api_paste.ini polling.yaml; do
+ for conffile in policy.json api_paste.ini; do
cp $CEILOMETER_DIR/etc/ceilometer/$conffile $CEILOMETER_CONF_DIR
done
+ cp $CEILOMETER_DIR/etc/ceilometer/polling_all.yaml $CEILOMETER_CONF_DIR/polling.yaml
cp $CEILOMETER_DIR/ceilometer/pipeline/data/*.yaml $CEILOMETER_CONF_DIR