Bug 1852332 - [RFE] Collect 'disk.device.read.bytes' and 'disk.device.write.bytes' metrics from OpenStack provider
Summary: [RFE] Collect 'disk.device.read.bytes' and 'disk.device.write.bytes' metrics ...
Keywords:
Status: NEW
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Documentation
Version: 5.11.6
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: GA
: 5.11.z
Assignee: Red Hat CloudForms Documentation
QA Contact: Red Hat CloudForms Documentation
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-30 07:35 UTC by Nikhil Gupta
Modified: 2023-10-06 20:55 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Category: ---
Cloudforms Team: Documentation
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Nikhil Gupta 2020-06-30 07:35:17 UTC
Description of feature:
Collect 'disk.device.read.bytes' and 'disk.device.write.bytes' metrics from OpenStack provider.

As per the git OpenStack document, it indicates 'disk.device.read.bytes' [1] but the Red Hat doc says 'disk.read.bytes' [2].

Bug 1850626 [3] is raised to update the Red Hat documentation.

[1] https://github.com/openstack/ceilometer/blob/master/ceilometer/publisher/data/gnocchi_resources.yaml#L155

[2] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/13/html-single/logging_monitoring_and_troubleshooting_guide/index#c_gnocchi-metrics

[3] https://bugzilla.redhat.com/show_bug.cgi?id=1850626

Comment 2 Nikhil Gupta 2020-07-02 05:17:58 UTC
Hi team,

The following code needs to be updated: 

https://github.com/ManageIQ/manageiq-providers-openstack/blob/master/app/models/manageiq/providers/openstack/cloud_manager/metrics_capture.rb#L2-L5

to 

~~~
class ManageIQ::Providers::Openstack::CloudManager::MetricsCapture < ManageIQ::Providers::CloudManager::MetricsCapture
  include ManageIQ::Providers::Openstack::BaseMetricsCapture
  CPU_METERS     = ["cpu_util"]
  MEMORY_METERS  = ["memory.usage"]
  DISK_METERS    = ["disk.device.read.bytes", "disk.device.write.bytes"]
  NETWORK_METERS = ["network.incoming.bytes", "network.outgoing.bytes"]
~~~

It should be assigned to engineering team.

Regards,
Nikhil


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