counter_volume did not represent duration for instance,network,port, subnet, router,
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Low
|
Pradeep Kilambi |
Bug Description
Test Steps
I use Web api to check the correction of ceilometer meters.
I find the counter_volume is 1, it did not change. It did not represent the duration of these meters.
Instance, network,
"counter_
Test Investigation:
We find below code in the community. it seems the code set the volume=1 by default.
It did not consistent as the doc described.
http://
def process_
if instance_type:
yield sample.
process_
unit_value = getattr(self, 'unit', self.resource_name)
yield sample.
Changed in ceilometer: | |
milestone: | icehouse-1 → icehouse-2 |
Changed in ceilometer: | |
assignee: | Julien Danjou (jdanjou) → nobody |
milestone: | icehouse-2 → icehouse-3 |
Changed in ceilometer: | |
assignee: | nobody → Pradeep Kilambi (pkilambi) |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | icehouse-3 → 2014.1 |
"I find the counter_volume is 1, it did not change. It did not represent the duration of these meters."
Volume is never a duration, it's a quantity. You want to compute duration, use the /statistics endpoint.