From 0feb4d9dbab587b9a6990b418ddb4a8de49f8523 Mon Sep 17 00:00:00 2001 From: Pradeep Kilambi Date: Thu, 10 Sep 2015 11:13:47 -0400 Subject: [PATCH] Split out image non-meters As much as these will be deprecated in future, it better to have these split out so here it is. Closes-Bug: #1494389 Change-Id: Ic5be7726b79ad712379878b3c3581f108c65801d --- ceilometer/meter/data/meters.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/ceilometer/meter/data/meters.yaml b/ceilometer/meter/data/meters.yaml index 63394cf8..0c64a9c4 100644 --- a/ceilometer/meter/data/meters.yaml +++ b/ceilometer/meter/data/meters.yaml @@ -261,7 +261,34 @@ metric: - name: "image" event_type: - "image.upload" + - "image.update" - "image.delete" + type: "gauge" + unit: 'image' + volume: 1 + resource_id: $.payload.id + project_id: $.payload.owner + + - name: "image.upload" + event_type: + - "image.upload" + type: "gauge" + unit: 'image' + volume: 1 + resource_id: $.payload.id + project_id: $.payload.owner + + - name: "image.delete" + event_type: + - "image.delete" + type: "gauge" + unit: 'image' + volume: 1 + resource_id: $.payload.id + project_id: $.payload.owner + + - name: "image.update" + event_type: - "image.update" type: "gauge" unit: 'image'