[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16348183#comment-16348183
 ] 

ASF GitHub Bot commented on CLOUDSTACK-10260:
---------------------------------------------

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 : 
   
   ![api response 
screenshot](https://user-images.githubusercontent.com/25146827/35668367-3ca37aa8-0757-11e8-9234-7a0d761a8042.PNG)
   

----------------------------------------------------------------
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]


> Introducing a new API to collect and list CPU Sockets Metrics information for 
> all Hypervisors.
> ----------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-10260
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10260
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>            Reporter: Nitesh Sarda
>            Priority: Major
>
> *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 :*
>  * Introduced a new API namely "listCpuSocketsMetrics", which will fetch 
> details of CPU Sockets for all the hypervisors in a single run.
>  * In this API, a query will be fired on a host table to fetch details based 
> on grouping of Hypervisor type and Hypervisor version.
>  * This API will prevent multiple calls of listHosts API and thus will 
> improve performance of the infrastructure tab.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to