Update cpu meters of hardware resource

The hardware.cpu.util is deprecated and ceilometer now supports meters
to get cpu utils per usage like usr, sys and so on.
This change updates the default meters to follow the change[1] in
ceilometer.

[1] 8fd68396af595a2ba009591c9e53a1b55557b311

Change-Id: Iea1240e97e62da03ddc485602ed9099a39bff875
This commit is contained in:
Takashi Kajinami 2021-01-15 20:30:57 +09:00
parent 41579d71e5
commit 5d8685175d
3 changed files with 27 additions and 0 deletions

View File

@ -31,6 +31,13 @@ class ceilometer::params {
'volume.snapshot.size',
'volume.backup.size',
'hardware.cpu.util',
'hardware.cpu.user',
'hardware.cpu.nice',
'hardware.cpu.system',
'hardware.cpu.idle',
'hardware.cpu.wait',
'hardware.cpu.kernel',
'hardware.cpu.interrupt',
'hardware.memory.used',
'hardware.memory.total',
'hardware.memory.buffer',

View File

@ -0,0 +1,13 @@
---
features:
- |
The following meters are enabled by default when
``ceilometer::agent::polling::manage_polling`` is ``true``.
- hardware.cpu.user
- hardware.cpu.nice
- hardware.cpu.system
- hardware.cpu.idle
- hardware.cpu.wait
- hardware.cpu.kernel
- hardware.cpu.interrupt

View File

@ -123,6 +123,13 @@ sources:
- volume.snapshot.size
- volume.backup.size
- hardware.cpu.util
- hardware.cpu.user
- hardware.cpu.nice
- hardware.cpu.system
- hardware.cpu.idle
- hardware.cpu.wait
- hardware.cpu.kernel
- hardware.cpu.interrupt
- hardware.memory.used
- hardware.memory.total
- hardware.memory.buffer