summaryrefslogtreecommitdiff
path: root/ceilometer/volume
diff options
context:
space:
mode:
authorGordon Chung <chungg@ca.ibm.com>2013-04-26 12:55:00 -0400
committerGordon Chung <chungg@ca.ibm.com>2013-04-26 13:06:33 -0400
commitaf2704ea2fd528fa839f741dd218ccf15f298ea2 (patch)
tree1c3215f3fc5124c83d90b024776e7e0706ebdc38 /ceilometer/volume
parent15b0e108f592f73b08ffb14b374a3c5330def516 (diff)
downloadceilometer-af2704ea2fd528fa839f741dd218ccf15f298ea2.tar.gz
glance/cinder/quantum counter units are not accurate/consistent
change floating ip counters to 'ip' unit change volume.size counters to 'GB' unit change image.[update/upload/delete] counters to 'image' unit Change-Id: Icdb92b3edf08d9cf9ea555b3bdfe7d452dd3ffff Fixes:bug1173287
Diffstat (limited to 'ceilometer/volume')
-rw-r--r--ceilometer/volume/notifications.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ceilometer/volume/notifications.py b/ceilometer/volume/notifications.py
index b58a81e3..b5ccdcff 100644
--- a/ceilometer/volume/notifications.py
+++ b/ceilometer/volume/notifications.py
@@ -88,7 +88,7 @@ class VolumeSize(_Base):
return [
counter.Counter(name='volume.size',
type=counter.TYPE_GAUGE,
- unit='B',
+ unit='GB',
volume=message['payload']['size'],
user_id=message['payload']['user_id'],
project_id=message['payload']['tenant_id'],