Bug 1042332

Summary: [RFE][ceilometer]: Add memory and memory utilization meter to ceilometer.
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: medium    
Version: 5.0 (RHEL 6)CC: markmc, pablo.iranzo, yeylon
Target Milestone: Upstream M1Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/ceilometer/+spec/ceilometer-memory-utilization
Whiteboard: upstream_milestone_none upstream_status_needs-code-review upstream_definition_new
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:32:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description RHOS Integration 2013-12-12 21:46:52 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/ceilometer/+spec/ceilometer-memory-utilization.

Description:

Per this link https://lists.launchpad.net/openstack/msg25265.html,
i would like to add the memory and memory utilization to the ceilometer.
As the libvirt has released many new version since Thu,18 Jul 2013. I would like to use the following libvirt api to retrive the memory used by domain and the memory utilization of the domain:

int	virDomainMemoryStats		(virDomainPtr dom,
      virDomainMemoryStatPtr stats,
      unsigned int nr_stats,
      unsigned int flags)
This function provides memory statistics for the domain.

Refer to http://libvirt.org/html/libvirt-libvirt.html#virDomainMemoryStats for libvirt api details.

Specification URL (additional information):

None