Ask Your Question

Enable metrics CPU Utilization in OpenStack Master (Stein)

asked 2018-11-14 11:46:18 -0500

In new release OpenStack Stein the transformation of data is no more the responsability of Ceilometer(cpu_util,, network.incoming.bytes.rate, ...)

According to the latest github commit of the Ceilometer, the gnocchi is responsible for these transformations. How do I configure them in gnocchi? I did not find any material explaining how to solve this problem.


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-05-17 04:13:53 -0500

dommgifer gravatar image

I have same issue. Did you find a solution?

edit flag offensive delete link more


Gnocchi seems to have rate aggregation. For example, my Packstack cloud configures archive policies ceilometer-low-rate and ceilometer-high-rate that include rate:mean aggregation methods.

Declare such a rate policy in the pipeline and see what you can do with it.

Bernd Bausch gravatar imageBernd Bausch ( 2019-05-17 06:19:12 -0500 )edit

See also

New aggregation methods are available for archive policy; rate:mean, rate:last, ....


... Those can be prefix by rate: to compute the rate of change ...

Bernd Bausch gravatar imageBernd Bausch ( 2019-05-17 06:20:50 -0500 )edit

I will need this as well at some point in the future; best to start experimenting with this new Gnocchi feature.

Bernd Bausch gravatar imageBernd Bausch ( 2019-05-17 06:22:38 -0500 )edit

Thanks for your help! I used gnocchi "dynamic aggregates" to query and the Operations was: (/ (* 100(metric cpu rate:mean)) (* (* (** 10 9) (metric vcpus mean)) 60) )

but the data point of (metric vcpus mean) was per hour , and the data point of (metric cpu rate:mean) was per min.

dommgifer gravatar imagedommgifer ( 2019-05-31 05:01:51 -0500 )edit

so, it can't aggregate. Must change (metric vcpus mean) to instance vcpus number, like this(if instance has 2 cpus): (/ (* 100(metric cpu rate:mean)) (* (* (** 10 9) 2) 60) )

dommgifer gravatar imagedommgifer ( 2019-05-31 05:04:50 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-11-14 11:46:18 -0500

Seen: 877 times

Last updated: May 17 '19