# What is the minimal polling interval for Ceilometer?

Hey, in the pipeline configuration of Ceilometer, the developer document says " The interval parameter in the sources section should be defined in seconds. It determines the cadence of sample injection into the pipeline, where samples are produced under the direct control of an agent, i.e. via a polling cycle as opposed to incoming notifications." http://docs.openstack.org/developer/ceilometer/configuration.html#pipeline-configuration (http://docs.openstack.org/developer/c...)

I just wonder whether we could set any value, for example, 1 second. If that's wrong, what is the minimal value for the polling period in Ceilometer?

edit retag close merge delete

Sort by » oldest newest most voted

The default interval is 600s. To choose the suitable interval, you should consider the actual requirement and ceilometer-compute load. The extreme case is ceilometer-compute can not finish one complete poll in a interval, thus it will keep on running. That is not a good idea.

more

Thanks so much for your help. The key point that you mentioned is the load of ceilometer polling agent. So if we cloud make sure that the polling work can be done in a interval and the load is so heavy, then the interval is fine. Right?

( 2015-12-23 21:43:25 -0500 )edit

Yes, you'd better consider the compute node's total load, for example, the nova-compute. Generally, if no special requirements, it is recommended not less than five minutes.

( 2015-12-27 19:02:48 -0500 )edit

Thanks so much!

( 2015-12-30 23:39:28 -0500 )edit

grep interval /etc/ceilometer/pipeline.yaml in each controller and computes. The default value is 60S, you can change according to your requirement. We have GBs of data, so we changed to 600S.

Regards

more