deb-ceilometer/ceilometer/compute
xiangjun li d054c7c740 Add attribute 'state' to meter metadata when source is polling
For now, instance attribute 'state' is stored to
metadata of meter which was generated from
notifications. But when meter was generated from
instance polling, 'state' is not stored to
metadata of meter even this attribute could be
retrieved from polling action. Because the meter
generated from notifications or polling update
the resource information in database in cycles,
the resource show API may return the instance
metadata with different style(sometimes the
returned metadata contains 'state', but at other
times, the 'state' is disappeared in it), which
may confuse us in some situations. In this patch,
'state' has been added to the meter metadata if
the meter was generated from polling source.

Closes-Bug: #1491224

Change-Id: Ie869672901b1d13f9444d0ca0e7d849f5e4ffc4b
2015-09-14 13:14:07 +08:00
..
notifications remove old nova_notifier processing code 2015-09-02 17:47:15 -04:00
pollsters Add attribute 'state' to meter metadata when source is polling 2015-09-14 13:14:07 +08:00
virt Merge "xenapi: support the session to "unix://local"" 2015-08-20 19:27:15 +00:00
__init__.py Remove disabled_compute_pollsters option 2013-06-12 16:09:56 +02:00
discovery.py remove duplicate log exception message 2015-09-08 04:26:02 -07:00
util.py Upgrade to hacking 0.10 2015-01-23 17:43:04 +01:00