[openstack-dev] [Ceilometer] "Infinite" values for "sum" and "average" fields in statistics query
gord chung
gord at live.ca
Tue Oct 20 20:38:42 UTC 2015
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:gord at live.ca]
> Sent: Tuesday, October 20, 2015 9:20 AM
> To: openstack-dev at 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 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 |
>>
>> ______________________________________________________________________
>> ____ OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> OpenStack-dev-request at 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-request at 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-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
--
gord
More information about the OpenStack-dev
mailing list