[Openstack] [Ceilometer] Swift understand usage metrics
Heiko Krämer
info at honeybutcher.de
Mon Jan 6 14:41:14 UTC 2014
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 ?
Min and Max are the same and represents the usage of this project in Swift:
Account: AUTH_b52ae9afb4664dababe285ba1b2c0a48
Containers: 3
Objects: 230
Bytes: 11599362
but what's sum ? Each run of ceilomter will add the Max to Sum ?
Is the Max value everytime the current usage ?
All Tenants:
root at api1:~# ceilometer statistics -m storage.objects.size -p 72000
+--------+---------------------+---------------------+-------+-----+---------------+------------------+---------------+----------+---------------------+---------------------+
| 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 | 830 | 0.0 |
45837160448.0 | 4.9354339433e+11 | 594630595.578 | 2754.0 |
2014-01-06T13:48:22 | 2014-01-06T14:34:16 |
+--------+---------------------+---------------------+-------+-----+---------------+------------------+---------------+----------+---------------------+---------------------+
I've checked Max and Sum and both values can't be right.
One of the Swift testing nodes:
/dev/sda5 5.4T 61G 5.4T 2% /srv/node/sda5
I'm worry about that :) can anyone spent me light in the darkness?
Cheers and Thanks
Heiko
More information about the Openstack
mailing list