Previously we had  transformers to calculate the cpu_util for us but now the whole transformers section has been completely removed so how to create a metric for cpu usage so that it can be used in heat template?

On Wed, May 5, 2021 at 10:32 AM Swogat Pradhan <swogatpradhan22@gmail.com> wrote:

Hi,

How to set up aodh and heat to auto scale in openstack victoria based on cpu usage?

As the metric cpu_util is now deprecated, how can someone use heat to auto scale up and down using cpu usage of the instance?

I checked the ceilometer package and I could see the transformers are removed so i can't see any other way to perform arithmetic operations and generate cpu usage in percentage. 

Any insight is appreciated.


with regards

Swogat pradhan