Add prerequisite for enabling all untunable metrics

Change-Id: Ie198ec9f0d97c41462ab3de8e4ae92426f8102a9
(cherry picked from commit b8bf71425b)
This commit is contained in:
Lukasz Zajaczkowski 2018-03-19 10:28:13 +01:00
parent 0dc7b055a8
commit 20753bcdf2

View File

@ -424,7 +424,18 @@ Configuration parameters can be used to control which metrics are reported by li
| | vm.io.write_ops_total_sec | io.write_ops_total_sec | | | vm.io.write_ops_total_sec | io.write_ops_total_sec |
### Untunable Metrics ### Untunable Metrics
Please see table below for metrics in libvirt that are always enabled. #### Prerequisite
By default, the memory statistics feature is disabled in qemu. You need to add
stats period in order to enable them.
* Enable stats period of memballoon device. Add default
`mem_stats_period_seconds=10` into `/etc/nova/nova.conf` file. Restart
nova-compute service: `sudo systemctl restart openstack-nova-compute`
* Make sure your image includes the suitable balloon driver, particularly
for Windows guests, most modern Linuxes have it build in. For `cirros`
distribution, it's available from version 0.4.0.
#### Untunable Metrics List
Please see table below for metrics in libvirt.
| Admin Metric Name | Tenant Metric Name | | Admin Metric Name | Tenant Metric Name |
| ----------------- | ------------------ | | ----------------- | ------------------ |