niteshsarda opened a new pull request #2440: CLOUDSTACK-10260 : Introducing a new API to collect and list CPU Sockets Metrics information for all Hypervisors. URL: https://github.com/apache/cloudstack/pull/2440 **Requirement :** Introduce a new API to collect and list CPU Sockets Metrics information for each hypervisor. Currently, listHosts API is fired for each hypervisor seprately to retrieve the count of CPU sockets. So, with this fix instead of multiple API execution, single API query will be executed to reterieve information for all the hypervisors. **Implementation :** 1. Introduced a new API namely "listCpuSocketsMetrics", which will fetch details of CPU Sockets for all the hypervisors in a single run. 2. In this API, a query will be fired on a host table to fetch details based on grouping of Hypervisor type and Hypervisor version. 3. This API will prevent multiple calls of listHosts API and thus will improve performance of the infrastructure tab. Api Response Screenshot : 
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
