rhtyd opened a new pull request #2287: CLOUDSTACK-9998: Prometheus Exporter for 
CloudStack
URL: https://github.com/apache/cloudstack/pull/2287
 
 
   This implements a CloudStack Prometheus exporter as a plugin, that serves
   metrics on a HTTP port.
   
   FS: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+Metrics+Exporter+for+Prometheus
   
   Prometheus: https://prometheus.io/
   
   New global settings:
   
   1. prometheus.exporter.enable - (default: false), Enable the prometheus
   exporter plugin, management server restart needed.
   2. prometheus.exporter.port - (default: 9595), The prometheus exporter
   server port.
   3. prometheus.exporter.allowed.ips - (default: 127.0.0.1), List of comma
   separated prometheus server ips (with no spaces) that should be allowed to
   access the URLs.
   
   The following list  of  metrics are provided  per pop (zone)  with  the 
exporter:
   ? Per host:
   o CPU cores:  used, total
   o CPU usage:  used, total (in MHz)
   o Memory  usage:  used, total (in MiBs)
   o Total VMs running on  the host
   ? CPU cores:  allocated (per  zone)
   ? CPU usage:  allocated (per  zone, in  MHz)
   ? Memory  usage:  allocated (per  zone, in  MiBs)
   ? Hosts:  online, offline,  total
   ? VMs: in all states -- starting, running, stopping, stopped, destroyed,
          expunging, migrating,  error, unknown
   ? Volumes:  ready,  destroyed,  total
   ? Primary Storage Pool: (Disk size) used, allocated,  unallocated,  total 
(in GiBs)
   ? Secondary Storage Pool: (Disk size) used, allocated,  unallocated,  total 
(in GiBs)
   ? Private IPs:  allocated,  total
   ? Public  IPs:  allocated,  total
   ? Shared  Network IPs:  allocated,  total
   ? VLANs:  allocated,  total
   
   Additional metrics for the environment:
   ? Summed  domain  (level=1) limit for CPU cores
   ? Summed  domain  (level=1) limit for memory/ram
   
   Pinging for review - @ustcweizhou @DaanHoogland @borisstoyanov @nvazquez 
@PaulAngus and others
 
----------------------------------------------------------------
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

Reply via email to