[openstack-dev] [Ceilometer] "Infinite" values for "sum" and "average" fields in statistics query

Srikanth Vavilapalli srikanth.vavilapalli at ericsson.com
Mon Oct 19 20:02:31 UTC 2015


Hi

I have observed "inf" values for "sum" and "average" fields in a ceilometer statistics query on one of my custom meter as shown below. I have also verified the samples query for this meter and there are 1544 samples (output shown below) with all of them having value as "150.0". So ideally the "Avg" filed should be "150.0" in this scenario. Could anyone tell me in what scenario we will see these two fields as "inf" in the meter statistics query? Plz let me know if you need more details or logs here. Appreciate your help. 

Thanks
Srikanth


svavilap at ctl:/usr/lib/python2.7/dist-packages/ceilometer$ ceilometer statistics --meter=vcpe.dns.cache.size
+--------+----------------------------+----------------------------+-------+-------+-----+-----+-------+------------+----------------------------+----------------------------+
| Period | Period Start               | Period End                 | Max   | Min   | Avg | Sum | Count | Duration   | Duration Start             | Duration End               |
+--------+----------------------------+----------------------------+-------+-------+-----+-----+-------+------------+----------------------------+----------------------------+
| 0      | 2015-10-17T01:30:24.999000 | 2015-10-19T17:47:20.587000 | 150.0 | 150.0 | inf | inf | 1544  | 231415.588 | 2015-10-17T01:30:24.999000 | 2015-10-19T17:47:20.587000 |
+--------+----------------------------+----------------------------+-------+-------+-----+-----+-------+------------+----------------------------+----------------------------+


svavilap at ctl:/usr/lib/python2.7/dist-packages/ceilometer$ ceilometer sample-list --meter=vcpe.dns.cache.size
+-------------+---------------------+-------+--------+---------+----------------------------+
| Resource ID | Name                | Type  | Volume | Unit    | Timestamp                  |
+-------------+---------------------+-------+--------+---------+----------------------------+
| vcpe-170    | vcpe.dns.cache.size | gauge | 150.0  | entries | 2015-10-19T17:47:20.587000 |
| vcpe-170    | vcpe.dns.cache.size | gauge | 150.0  | entries | 2015-10-19T17:47:00.048000 |
| vcpe-170    | vcpe.dns.cache.size | gauge | 150.0  | entries | 2015-10-19T17:42:20.470000 |
| vcpe-170    | vcpe.dns.cache.size | gauge | 150.0  | entries | 2015-10-19T17:41:59.921000 |
| vcpe-170    | vcpe.dns.cache.size | gauge | 150.0  | entries | 2015-10-19T17:37:20.362000 |
.
.
.
| vcpe-170    | vcpe.dns.cache.size | gauge | 150.0  | entries | 2015-10-17T01:50:25.499000 |
| vcpe-170    | vcpe.dns.cache.size | gauge | 150.0  | entries | 2015-10-17T01:45:46.255000 |
| vcpe-170    | vcpe.dns.cache.size | gauge | 150.0  | entries | 2015-10-17T01:45:25.374000 |
| vcpe-170    | vcpe.dns.cache.size | gauge | 150.0  | entries | 2015-10-17T01:40:46.131000 |



More information about the OpenStack-dev mailing list