Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFE] Update metrics collection #879

Open
falencastro opened this issue Apr 3, 2024 · 6 comments
Open

[RFE] Update metrics collection #879

falencastro opened this issue Apr 3, 2024 · 6 comments

Comments

@falencastro
Copy link

Since OpenStack Stein (RHOSP 15) some ceilometer metrics were deprecated, like:

  • cpu_util
  • disk.read.requests.rate
  • disk.write.requests.rate
  • disk.read.bytes.rate
  • disk.write.bytes.rate
  • disk.device.read.requests.rate
  • disk.device.write.requests.rate
  • disk.device.read.bytes.rate
  • disk.device.write.bytes.rate

cpu: (1)
disk: (2)(3)

Some of these are being collected in (4).

This prevents cpu and disk metrics from being collected and properly reported, causes the widget "Top CPU Consumers (weekly)" from the default dashboard to come back empty. Also this could be the issue behind #688.

For the disk metrics it should be only a matter of replacing disk.(read|write).bytes with disk.device.(read|write).bytes.
For the cpu_util metric that is gone, it should be replaced with gnocchi rate aggregation on the 'cpu' metric (rate:mean cpu) (5).

(5): "The cpu_util metric was deprecated and removed from Red Hat OpenStack Platform. To obtain the equivalent functionality, use the cumulative cpu metric and an archive policy that includes the rate:mean aggregation method."

1: https://docs.openstack.org/releasenotes/ceilometer/rocky.html
2: https://docs.openstack.org/releasenotes/ceilometer/stein.html
3: https://bugzilla.redhat.com/show_bug.cgi?id=1852332
4: https://github.com/ManageIQ/manageiq-providers-openstack/blob/master/app/models/manageiq/providers/openstack/cloud_manager/metrics_capture.rb
5: https://access.redhat.com/documentation/pt-br/red_hat_openstack_platform/16.1/html-single/auto_scaling_for_instances/index

@miq-bot add-label bug
@miq-bot add-label enhancement

@agrare agrare self-assigned this Apr 3, 2024
@Fryguy
Copy link
Member

Fryguy commented Apr 5, 2024

This is awesome detail. Thanks @falencastro !

@agrare
Copy link
Member

agrare commented Apr 10, 2024

Thanks so much for all of the info here @falencastro

I'm working on setting up a recent microstack version for testing but I was wondering if you'd be willing/able to help test out some of the changes as well?

@falencastro
Copy link
Author

Hi @agrare, yeah I'll be happy to help. I have an openstack yoga environment where I can test this.

@miq-bot miq-bot added the stale label Jul 15, 2024
@miq-bot
Copy link
Member

miq-bot commented Jul 15, 2024

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

1 similar comment
@miq-bot
Copy link
Member

miq-bot commented Nov 1, 2024

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants