summaryrefslogtreecommitdiff
path: root/devstack
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2018-07-06 17:01:30 +0200
committerJulien Danjou <julien@danjou.info>2018-09-06 10:38:25 +0200
commit9db5c6c9bfc66018aeb78c4a262e1bfa9b326798 (patch)
tree832d5a5ad5599500b4a1e82b9a0c08bd8316e8e4 /devstack
parentcb8aee3945771505bce6e8d874efd5df7e30257a (diff)
downloadceilometer-9db5c6c9bfc66018aeb78c4a262e1bfa9b326798.tar.gz
pipeline: remove transformer support
Transformers cannot work correctly on multiple nodes without workload partitioning, which has been removed. The transformation of data is no more the responsability of Ceilometer. The data storage used by default (Gnocchi), is able to handle the scenario that Ceilometer covered by default such as computing the rate of a metric. Change-Id: If3683318b998a37c40bc09314dd8ab3eef326ba7 Depends-On: Ifd1d04ce813028f115c19bc983e7dd1e63c6f8a5 Depends-On: I0330c09d72c20d63d08770b52d3071512a418260
Diffstat (limited to 'devstack')
-rw-r--r--devstack/plugin.sh3
-rw-r--r--devstack/settings6
2 files changed, 8 insertions, 1 deletions
diff --git a/devstack/plugin.sh b/devstack/plugin.sh
index 9031b258..1f07a83a 100644
--- a/devstack/plugin.sh
+++ b/devstack/plugin.sh
@@ -405,6 +405,9 @@ if is_service_enabled ceilometer; then
start_ceilometer
elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then
iniset $TEMPEST_CONFIG telemetry alarm_granularity $CEILOMETER_ALARM_GRANULARITY
+ iniset $TEMPEST_CONFIG telemetry alarm_threshold 10000000000
+ iniset $TEMPEST_CONFIG telemetry alarm_metric_name cpu
+ iniset $TEMPEST_CONFIG telemetry alarm_aggregation_method rate:mean
fi
if [[ "$1" == "unstack" ]]; then
diff --git a/devstack/settings b/devstack/settings
index 410ed8ea..22da068e 100644
--- a/devstack/settings
+++ b/devstack/settings
@@ -19,7 +19,11 @@ fi
# Gnocchi default archive_policy for Ceilometer
# TODO(sileht): when Gnocchi 4.0 is out use the tarball instead
GNOCCHI_GIT_PATH=${GNOCCHI_GIT_PATH:-git+https://github.com/gnocchixyz/gnocchi#egg=gnocchi}
-GNOCCHI_ARCHIVE_POLICY=${GNOCCHI_ARCHIVE_POLICY:-ceilometer-low}
+if [ -n "$GNOCCHI_ARCHIVE_POLICY_TEMPEST" ]; then
+ GNOCCHI_ARCHIVE_POLICY=$GNOCCHI_ARCHIVE_POLICY_TEMPEST
+else
+ GNOCCHI_ARCHIVE_POLICY=${GNOCCHI_ARCHIVE_POLICY:-ceilometer-low}
+fi
GNOCCHI_CONF_DIR=${GNOCCHI_CONF_DIR:-/etc/gnocchi}
GNOCCHI_CONF=${GNOCCHI_CONF:-${GNOCCHI_CONF_DIR}/gnocchi.conf}
GNOCCHI_COORDINATOR_URL=${CEILOMETER_COORDINATOR_URL:-redis://localhost:6379}