Bug 1200511

Summary: Add per device rate metrics for instances
Product: Red Hat OpenStack Reporter: Eoghan Glynn <eglynn>
Component: openstack-ceilometerAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED ERRATA QA Contact: Yurii Prokulevych <yprokule>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0 (Juno)CC: ajeain, dnavale, jruzicka, pbrady, pkilambi, rrosa, yeylon
Target Milestone: z3Keywords: FutureFeature, ZStream
Target Release: 6.0 (Juno)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-ceilometer-2014.2.3-1.el7 Doc Type: Enhancement
Doc Text:
To capture rate based disk metrics, this update adds transformation rules for per-device disk meters in order to derive per-second rates. As a result, new derived rate based disk metrics and samples are generated.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-05 13:10:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 5 Pradeep Kilambi 2015-04-18 01:08:30 UTC
To verify this:

* spin up instances with volumes via cli or dashboard

* the metrics of interest are :

- disk.device.read.bytes.rate"
- "disk.device.read.requests.rate"
- "disk.device.write.bytes.rate"
- "disk.device.write.requests.rate"

These are already part of the pipeline.yaml and derived through transformers. So these are essentially derived metrics. So just make sure these meters show up via cli.

Let me know if you have any questions

Comment 6 Yurii Prokulevych 2015-04-22 10:51:29 UTC
Output from 'ceilometer sample-list' call
+------------------------------------------+---------------------------------+-------+-----------------+-----------+---------------------+
| Resource ID                              | Name                            | Type  | Volume          | Unit      | Timestamp           |
+------------------------------------------+---------------------------------+-------+-----------------+-----------+---------------------+
| 5a028ada-3c36-401d-82af-5744acbefd07-vdc | disk.device.write.requests.rate | gauge | 0.0169491525424 | request/s | 2015-04-22T09:44:03 |
+------------------------------------------+---------------------------------+-------+-----------------+-----------+---------------------+

+------------------------------------------+------------------------------+-------+---------------+------+---------------------+
| Resource ID                              | Name                         | Type  | Volume        | Unit | Timestamp           |
+------------------------------------------+------------------------------+-------+---------------+------+---------------------+
| 5a028ada-3c36-401d-82af-5744acbefd07-vdc | disk.device.write.bytes.rate | gauge | 69.4237288136 | B/s  | 2015-04-22T09:44:03 |
+------------------------------------------+------------------------------+-------+---------------+------+---------------------+

+------------------------------------------+--------------------------------+-------+-----------------+-----------+---------------------+
| Resource ID                              | Name                           | Type  | Volume          | Unit      | Timestamp           |
+------------------------------------------+--------------------------------+-------+-----------------+-----------+---------------------+
| 5a028ada-3c36-401d-82af-5744acbefd07-vdc | disk.device.read.requests.rate | gauge | 0.220338983051  | request/s | 2015-04-22T09:44:03 |
+------------------------------------------+--------------------------------+-------+-----------------+-----------+---------------------+

+------------------------------------------+-----------------------------+-------+---------------+------+---------------------+
| Resource ID                              | Name                        | Type  | Volume        | Unit | Timestamp           |
+------------------------------------------+-----------------------------+-------+---------------+------+---------------------+
| 5a028ada-3c36-401d-82af-5744acbefd07-vdc | disk.device.read.bytes.rate | gauge | 93305.4915254 | B/s  | 2015-04-22T09:44:03 |
+------------------------------------------+-----------------------------+-------+---------------+------+---------------------+

Comment 9 errata-xmlrpc 2015-05-05 13:10:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0930.html