gnocchi: use ceilometer-low as default archive policy
Otherwise it's never used, at all. Change-Id: I68c29a9f9312300474d5e5e9c6944ce617bc1e3a
This commit is contained in:
parent
77832c1f38
commit
80239e48ea
@ -252,7 +252,8 @@ class GnocchiPublisher(publisher.ConfigPublisherBase):
|
||||
pkg_resources.resource_filename(__name__,
|
||||
"data/gnocchi_resources.yaml"))
|
||||
|
||||
archive_policy_default = data.get("archive_policy_default", "low")
|
||||
archive_policy_default = data.get("archive_policy_default",
|
||||
"ceilometer-low")
|
||||
resource_defs = []
|
||||
for resource in data.get('resources', []):
|
||||
try:
|
||||
|
@ -19,7 +19,7 @@ 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:-low}
|
||||
GNOCCHI_ARCHIVE_POLICY=${GNOCCHI_ARCHIVE_POLICY:-ceilometer-low}
|
||||
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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user