[Openstack] About Volume Metric Data

Nalee Jang nalee999 at gmail.com
Mon Jun 26 05:38:20 UTC 2017


Hello.

I am working to use Metric API in OpenStack Newton version nowadays.

but I am curious why don't look below volume's metric data.

===
[stack at undercloud ~]$ openstack metric resource show
c993dab8-f598-4625-a74b-8462ef05ce84
+-----------------------+-----------------------------------
------------------+
| Field                 | Value
  |
+-----------------------+-----------------------------------
------------------+
| created_by_project_id | f00dcc938bbe4101b4ced890c167d1ef
   |
| created_by_user_id    | 4c45a643d99c428caf0dff23e48c2d22
   |
| ended_at              | None
   |
| id                    | c993dab8-f598-4625-a74b-8462ef05ce84
   |
| metrics               | volume.attach: d650720f-dc2a-4f6a-9d72-62e0e14e5f86
|
|                       | volume.create: 70f21e5c-6318-43ec-81b6-6f0c83ade121
|
|                       | volume.delete: ba7bd093-cc0c-4c5d-86c7-d443e24680fe
|
|                       | volume.detach: 2e3ee19c-20df-42b8-bc0c-83978290644f
|
|                       | volume.resize: 4e81ab90-bc67-4589-9452-d70042b35b7c
|
|                       | volume.size: 83d926b3-4f7b-40af-a2d8-aad241c8799f
  |
|                       | volume.update: 88fe9354-3099-487f-89ba-17df1da6792b
|
|                       | volume: 75a00ddc-1491-4650-b7a8-6e2f169f68f0
   |
| original_resource_id  | c993dab8-f598-4625-a74b-8462ef05ce84
   |
| project_id            | c9c702af4b10441fba99365fd32f1a7b
   |
| revision_end          | None
   |
| revision_start        | 2017-06-19T06:09:30.760751+00:00
   |
| started_at            | 2017-06-19T06:09:30.760736+00:00
   |
| type                  | volume
   |
| user_id               | fd054d72e5bb45989f28c585d7c6d95e
   |
+-----------------------+-----------------------------------
------------------+

In this case, I can look only volume.size. I can't look other metric data
now.

What configuration do I check for looking these metric data?
How do I do for configuring to collect volume's metric data?

I want to see about volume.create, volume.delete, volume.attach and
volume.detach.

Please help me.

Thank you.

-- 
==================================================
 - Community : *Openstack Korea Community Advisor*
 - Name          : Nalee Jang (장현정)
 - Contact       : +82-10-3454-4260 / nalee999 at gmail.com
 - HomePage  : http://www.openstack.or.kr
 - Facebook   : https://www.facebook.com/groups/openstack.kr/
==================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170626/654a2756/attachment.html>


More information about the Openstack mailing list