The inspect_memory_resident was introduced a few months back. When a
new inspector element is added, it should also be added to the base
inspector. The base inspector should raise a NotImplementedError.
Due to this missing defintion, the pollster for the resident memory was
throwing an error for every instance that was sampled - if that
inspector did not have this method defined.
This change set adds a base definition, which removes the excessive
logging per instance when using a non-libvirt inspector.
Reviewed: https:/ /review. openstack. org/207907 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=778b1b080f2 ad525a056c8de7e f51a684522fdd3
Committed: https:/
Submitter: Jenkins
Branch: master
commit 778b1b080f2ad52 5a056c8de7ef51a 684522fdd3
Author: Drew Thorstensen <email address hidden>
Date: Fri Jul 31 09:43:30 2015 -0400
Provide base method for inspect_ memory_ resident
The inspect_ memory_ resident was introduced a few months back. When a rror.
new inspector element is added, it should also be added to the base
inspector. The base inspector should raise a NotImplementedE
Due to this missing defintion, the pollster for the resident memory was
throwing an error for every instance that was sampled - if that
inspector did not have this method defined.
This change set adds a base definition, which removes the excessive
logging per instance when using a non-libvirt inspector.
Change-Id: Ibac8a18a3e84fb 90763c48c892583 d8d3785c91c
Closes-Bug: 1480309