Interface StatisticsService

    • Method Detail

      • list

        StatisticsService.ListRequest list()
        Retrieves a list of statistics. For example, to retrieve the statistics for virtual machine `123` send a request like this: [source] ---- GET /ovirt-engine/api/vms/123/statistics ---- The result will be like this: [source,xml] ---- memory.installed Total memory configured gauge integer bytes 1073741824 ... ---- Just a single part of the statistics can be retrieved by specifying its id at the end of the URI. That means: [source] ---- GET /ovirt-engine/api/vms/123/statistics/456 ---- Outputs: [source,xml] ---- memory.installed Total memory configured gauge integer bytes 1073741824 ---- The order of the returned list of statistics isn't guaranteed.
      • service

        Service service​(String path)
        Service locator method, returns individual service on which the URI is dispatched.