<div dir="ltr">Hi<div><br></div><div>We're using Ceilometer with Gnocchi in Rocky release. And we're using cpu_util variable to doing auto scaling on Heat.</div><div><br></div><div>We known that ceilometer will create its own archive policy in gnocchi, and default value of granularity is 5 minutes. We want change ceilometer's granularity to a minute. Here's our workaround.</div>
<div><br></div><div>1. Edit pipeline.yaml. Since gnocchi has default policy that granularity = 1 second, we change "gnocchi://" to "gnocchi://?archive_policy=high"</div><div><br></div><div>2. Edit ceilometer.conf & polling.yaml, change both evaluation_interval (ceilometer.conf) & interval (polling.yaml) to 60.</div><div><br></div><div>3. Restart all ceilometer services</div><div><br></div><div>We tested this workaround but found that it would not work sometimes. And found that the first detection triggered every "o'clock" when created auto scaling at first time.</div><div><br></div><div>If we want to shrink the granularity time, is our workaround correct? And how is the correct way to do this if not?</div><div><br></div><div><br></div><div>Many thanks,</div><div>Eddie.</div></div>