]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commitdiff
Add cinder metrics to polling.yaml
authorTobias Urdin <tobias@busybox.se>
Sun, 1 Apr 2018 13:54:48 +0000 (15:54 +0200)
committerTobias Urdin <tobias@busybox.se>
Tue, 3 Apr 2018 11:48:38 +0000 (11:48 +0000)
As of [1] you can skip using cinder-volume-usage-audit
and instead let the ceilometer-polling agent poll the
cinder API for the data.

Ceilometer itself should know if cinder is available
or not.

[1] https://review.openstack.org/#/c/388584/

Change-Id: I1bd6e45060f90fcbc44658f75af45e1b4ebc7acf
(cherry picked from commit 49d53d4c67e2aefde09c246ad6d4884add852670)

templates/polling.yaml.erb

index f2a7bd146316824cbd207ae60a491b6662ea3ab3..0a648d5913b79b8614a02196d8bbe72d77ad010f 100644 (file)
@@ -14,6 +14,9 @@ sources:
         - disk.read.requests
         - disk.write.bytes
         - disk.write.requests
+        - volume.size
+        - volume.snapshot.size
+        - volume.backup.size
         - hardware.cpu.util
         - hardware.memory.used
         - hardware.memory.total