You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/10/01 00:02:25 UTC

[GitHub] [cloudstack] ravening opened a new pull request #4365: Export dedicated host stats to prometheus

ravening opened a new pull request #4365:
URL: https://github.com/apache/cloudstack/pull/4365


   ## Description
   <!--- Describe your changes in detail -->
   We should have the metrics for the hosts which are dedicated to certain domains.
   We should also be able to see cpu/memory/storage currently used per domain
   
   
   ## Types of changes
   <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
   - [X] Enhancement (improves an existing feature and functionality)
   
   
   ## Screenshots (if appropriate):
   
   ## How Has This Been Tested?
   <!-- Please describe in detail how you tested your changes. -->
   <!-- Include details of your testing environment, and the tests you ran to -->
   <!-- see how your change affects other areas of the code, etc. -->
   Enable prometheus server
   Add 127.0.0.1 as allowed Ip so that you can fetch metrics from prometheus
   
   Now fetch the endpoint
   ```
   # http http://127.0.0.1:9595/metrics | grep cloudstack_host_is_dedicated
   cloudstack_host_is_dedicated{zone="mgt122-10",hostname="node11",ip="10.13.122.11"} 1
   
   # http http://127.0.0.1:9595/metrics | grep cloudstack_host_dedicated_to_account
   cloudstack_host_dedicated_to_account{zone="mgt122-10",hostname="node11",ip="10.13.122.11"} 1
   ```
   
   <!-- Please read the [CONTRIBUTING](https://github.com/apache/cloudstack/blob/master/CONTRIBUTING.md) document -->
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on pull request #4365: Export dedicated host stats to prometheus

Posted by GitBox <gi...@apache.org>.
rhtyd commented on pull request #4365:
URL: https://github.com/apache/cloudstack/pull/4365#issuecomment-708303544


   Changes are strictly in the plugin code, merging this based on travis tests and 2x lgtms 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd merged pull request #4365: Export dedicated host stats to prometheus

Posted by GitBox <gi...@apache.org>.
rhtyd merged pull request #4365:
URL: https://github.com/apache/cloudstack/pull/4365


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org