On Mon, Jan 06 2014, Heiko Krämer wrote: > Hi Guys, > > I'm wondering of some meters for Swift. > > root@api1:~# ceilometer statistics -m storage.objects.size -p 72000 -q > project_id=b52ae9afb4664dababe285ba1b2c0a48 > +--------+---------------------+---------------------+-------+------------+------------+-------------+------------+----------+---------------------+---------------------+ > | Period | Period Start | Period End | Count | > Min | Max | Sum | Avg | Duration | Duration > Start | Duration End | > +--------+---------------------+---------------------+-------+------------+------------+-------------+------------+----------+---------------------+---------------------+ > | 72000 | 2014-01-06T09:53:55 | 2014-01-07T05:53:55 | 9 | > 11599362.0 | 11599362.0 | 104394258.0 | 11599362.0 | 2400.0 | > 2014-01-06T13:48:22 | 2014-01-06T14:28:22 | > +--------+---------------------+---------------------+-------+------------+------------+-------------+------------+----------+---------------------+---------------------+ > > > which value shows me the current object size of this project ?
None, as you are requesting statistics over a period of time (here the period of time is from the creation to deletion of the resource). Just request the last sample if you want a one-time measure. > but what's sum ? Each run of ceilomter will add the Max to Sum ? Sum is the sum of values, for a meter like a gauge here, it's useless. It's only useful for delta type meters. -- Julien Danjou ;; Free Software hacker ; independent consultant ;; http://julien.danjou.info
signature.asc
Description: PGP signature
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
