[Openstack] [Ceilometer] Swift understand usage metrics

Julien Danjou julien at danjou.info
Tue Jan 7 09:08:24 UTC 2014


On Mon, Jan 06 2014, Heiko Krämer wrote:

> Hi Guys,
>
> I'm wondering of some meters for Swift.
>
> root at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140107/fdb84ee4/attachment.sig>


More information about the Openstack mailing list