Hi Team,

I have created a VM using oVirt, which is in UP state now.

1) I opened the guest console using oVirt
2) I want to get the statistics for disk so I tried to create and write
some content in the file (say test.txt) in loop to increase the latency and
bandwidth in disk.
3) I observed that CPU in VM statistics is increased to 100 % (This is a
good news since I expected this also)
    But when I looked into the disk level statistics using the following
API, I observe the data value as '0' always.

https://172.30.X.X/ovirt-engine/api/disks/3bc267c0-a797-4e98-8ae9-217671649287/statistics/


{
    "statistic": [
        {
            "kind": "gauge",
            "type": "decimal",
            "unit": "bytes_per_second",
            "values": {
                "value": [
                    {
                        "datum": 0
                    }
                ]
            },
            "disk": {
                "href":
"/ovirt-engine/api/disks/3bc267c0-a797-4e98-8ae9-217671649287",
                "id": "3bc267c0-a797-4e98-8ae9-217671649287"
            },
            "name": "data.current.read",
            "description": "Read data rate",
            "href":
"/ovirt-engine/api/disks/3bc267c0-a797-4e98-8ae9-217671649287/statistics/33b9212b-f9cb-3fd0-b364-248fb61e1272",
            "id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
        },
        {
            "kind": "gauge",
            "type": "decimal",
            "unit": "bytes_per_second",
            "values": {
                "value": [
                    {
                        "datum": 0
                    }
                ]
            },
            "disk": {
                "href":
"/ovirt-engine/api/disks/3bc267c0-a797-4e98-8ae9-217671649287",
                "id": "3bc267c0-a797-4e98-8ae9-217671649287"
            },
            "name": "data.current.write",
            "description": "Write data rate",
            "href":
"/ovirt-engine/api/disks/3bc267c0-a797-4e98-8ae9-217671649287/statistics/2f23addd-4ebd-3d82-a449-c28778bc33eb",
            "id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
        }
    ]
}





*How can I increase the disk statistics using the VM Guest console?*

*Any help is much appreciated.*

Thanks,
Hari
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VNTDNEQDI3AJS763COFHLC3CQ6W4ING2/

Reply via email to