]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commitdiff
Deprecate ceilometer collector
authorPradeep Kilambi <pkilambi@redhat.com>
Wed, 8 Mar 2017 16:58:13 +0000 (11:58 -0500)
committerPradeep Kilambi <pkilambi@redhat.com>
Wed, 8 Mar 2017 17:00:22 +0000 (12:00 -0500)
Change-Id: I038e346d602552c449642c71bc30d2b7d2d1b54d

manifests/collector.pp
releasenotes/notes/deprecate-collector-55d615ff6cfff86a.yaml [new file with mode: 0644]

index c0a2c39a6a407d246fc72fba0c7dba473909e6a0..92900a41ce169c7b55768139b291d75c9099f38b 100644 (file)
@@ -68,6 +68,8 @@ class ceilometer::collector (
   include ::ceilometer::deps
   include ::ceilometer::params
 
+  warning('This class is deprecated. Now the pipeline.yaml can be configured directly to send data eg: gnocchi://')
+
   # We accept udp_address to be set to empty instead of the usual undef to stay
   # close to the "strange" upstream interface.
   if (is_ip_address($udp_address) != true and $udp_address != '' ){
diff --git a/releasenotes/notes/deprecate-collector-55d615ff6cfff86a.yaml b/releasenotes/notes/deprecate-collector-55d615ff6cfff86a.yaml
new file mode 100644 (file)
index 0000000..8c66108
--- /dev/null
@@ -0,0 +1,6 @@
+---
+deprecations:
+  - Ceilometer collector is deprecated in pike release. Configure the
+    publisher directly instead to decide where the data should be sent
+    in pipeline.yaml. For example, set publisher to gnocchi:// to send
+    the data from ceilometer to gnocchi and bypass collector completely.