Add soft param ceilometer_gnocchi_archive_policy
Add soft param ceilometer_gnocchi_archive_policy=default
and move it to system.defaults.openstack
Change-Id: I7b813ccb0bf71842b68f6a9d69382c2a06111f92
Related-Prod: PROD-23721 (PROD:23721)
diff --git a/ceilometer/server/backend/gnocchi.yml b/ceilometer/server/backend/gnocchi.yml
index 6ebf45f..d9f40fb 100644
--- a/ceilometer/server/backend/gnocchi.yml
+++ b/ceilometer/server/backend/gnocchi.yml
@@ -12,7 +12,7 @@
publisher:
gnocchi:
enabled: true
- url: "gnocchi://?filter_project=${_param:ceilometer_gnocchi_filter_project}"
+ url: "gnocchi://?filter_project=${_param:ceilometer_gnocchi_filter_project}&${_param:ceilometer_gnocchi_archive_policy}"
publish_metric: true
# filter_project is deprecated since queens
filter_project: ${_param:ceilometer_gnocchi_filter_project}