I have raised the bug for this (https://bugs.launchpad.net/ceilometer/+bug/1508220)
I have checked the ceilometer-api logs when I ran the query and have not found any errors or warnings. I could see only the below two logs: 2015-10-20 17:47:06.771 84151 DEBUG ceilometer.api.controllers.v2.meters [-] computed value coming from u'(<ceilometer.storage.impl_mongodb.Connection object at 0x7f3c422c2850>,)' statistics /usr/lib/python2.7/dist-packages/ceilometer/api/controllers/v2/meters.py:407 2015-10-20 17:47:06.773 84151 INFO werkzeug [-] 192.168.0.3 - - [20/Oct/2015 17:47:06] "GET /v2/meters/vcpe.dns.cache.size/statistics HTTP/1.1" 200 - Thanks Srikanth -----Original Message----- From: gord chung [mailto:g...@live.ca] Sent: Tuesday, October 20, 2015 1:39 PM To: openstack-dev@lists.openstack.org Subject: Re: [openstack-dev] [Ceilometer] "Infinite" values for "sum" and "average" fields in statistics query could you open a bug on https://bugs.launchpad.net/ceilometer/+bugs?orderby=-id&start=0 and reference this thread i would also check to see if ceilometer-api logs have any noticeable warning/errors. it's possible a datatype is being restricted there as well. thanks On 20/10/2015 12:22 PM, Srikanth Vavilapalli wrote: > Hi > > I am using MongoDB backend. > > Thanks > Srikanth > > -----Original Message----- > From: gord chung [mailto:g...@live.ca] > Sent: Tuesday, October 20, 2015 9:20 AM > To: openstack-dev@lists.openstack.org > Subject: Re: [openstack-dev] [Ceilometer] "Infinite" values for "sum" > and "average" fields in statistics query > > which backend are you using? this potentially may be a bug where we're > hitting some size limit restricted by datatype. > > On 19/10/2015 4:02 PM, Srikanth Vavilapalli wrote: >> 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@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@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 | >> >> _____________________________________________________________________ >> _ ____ OpenStack Development Mailing List (not for usage questions) >> Unsubscribe: >> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > -- > gord > > > ______________________________________________________________________ > ____ OpenStack Development Mailing List (not for usage questions) > Unsubscribe: > openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > ______________________________________________________________________ > ____ OpenStack Development Mailing List (not for usage questions) > Unsubscribe: > openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- gord __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev