Bug 1464847 - About Volume Metric Data
About Volume Metric Data
Status: CLOSED NOTABUG
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-gnocchi (Show other bugs)
10.0 (Newton)
Unspecified Unspecified
unspecified Severity high
: ---
: ---
Assigned To: Mehdi ABAAKOUK
Sasha Smolyak
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-26 01:09 EDT by naleejang
Modified: 2017-06-26 09:58 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
Story Points: ---
Clone Of:
Environment:
Director 10 - 1 Controller - 3 Compute - 6 Ceph Storage - 3
Last Closed: 2017-06-26 09:56:45 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description naleejang 2017-06-26 01:09:05 EDT
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 Julien Danjou 2017-06-26 09:46:55 EDT
So it seems you wrote the content in the wrong field, funny. Here it is:
-----------------------------

I am working about Gnocchi REST API in Red Hat OSP10.

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

===
[stack@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?

Please help me.
Comment 2 Mehdi ABAAKOUK 2017-06-26 09:56:45 EDT
Gnocchi doesn't collect anything, but in your case it's Ceilometer that push its data into Gnocchi.

Other volume.XXX are legacy Ceilometer meters, they are disabled by default. That why you have measures only for volume.size.

If you don't want Ceilometer to create this useless entries in Gnocchi, you can edit /etc/ceilometer/gnocchi_resources.yaml. Future OSP version will not create these entries by default.

Note You need to log in before you can comment on or make changes to this bug.