Add Gnocchi and Panko support
- added ability to configure polling_interval
- added panko, gnocchi publishers
- added ability to disable publishers
- parametrized pipelines
- added possibility to create resources in gnocchi
Change-Id: Id0f934def308d005d93378516d03184fa5418a8c
Related-Prod: https://mirantis.jira.com/browse/PROD-17718
diff --git a/metadata/service/server/cluster.yml b/metadata/service/server/cluster.yml
index 44d1655..33df2b4 100644
--- a/metadata/service/server/cluster.yml
+++ b/metadata/service/server/cluster.yml
@@ -17,6 +17,9 @@
ttl: 86400
publisher:
default:
+ enabled: true
+ publish_event: true
+ publish_metric: true
bind:
host: ${_param:cluster_local_address}
port: 8777
diff --git a/metadata/service/server/publisher/gnocchi.yml b/metadata/service/server/publisher/gnocchi.yml
new file mode 100644
index 0000000..4850143
--- /dev/null
+++ b/metadata/service/server/publisher/gnocchi.yml
@@ -0,0 +1,15 @@
+parameters:
+ _param:
+ ceilometer_create_gnocchi_resources: false
+ ceilometer_gnocchi_filter_project: service
+ ceilometer_gnocchi_archive_policy: medium
+ ceilometer:
+ server:
+ publisher:
+ gnocchi:
+ enabled: true
+ url: gnocchi://
+ publish_metric: true
+ archive_policy: ${_param:ceilometer_gnocchi_archive_policy}
+ filter_project: ${_param:ceilometer_gnocchi_filter_project}
+ create_resources: ${_param:ceilometer_create_gnocchi_resources}
diff --git a/metadata/service/server/publisher/panko.yml b/metadata/service/server/publisher/panko.yml
new file mode 100644
index 0000000..4c9960c
--- /dev/null
+++ b/metadata/service/server/publisher/panko.yml
@@ -0,0 +1,8 @@
+parameters:
+ ceilometer:
+ server:
+ publisher:
+ panko:
+ enabled: true
+ url: panko://
+ publish_event: true
diff --git a/metadata/service/server/single.yml b/metadata/service/server/single.yml
index 05d617b..5c5ddf8 100644
--- a/metadata/service/server/single.yml
+++ b/metadata/service/server/single.yml
@@ -16,6 +16,9 @@
ttl: 86400
publisher:
default:
+ enabled: true
+ publish_event: true
+ publish_metric: true
bind:
host: ${_param:single_address}
port: 8777