Ask Your Question
0

What is the minimal polling interval for Ceilometer?

asked 2015-12-22 01:36:09 -0500

mathsyouth gravatar image

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?

Thanks in advance. Welcome to answer this question!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-12-23 02:52:06 -0500

Shaoman Zhang gravatar image

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.

edit flag offensive delete link more

Comments

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?

mathsyouth gravatar imagemathsyouth ( 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.

Shaoman Zhang gravatar imageShaoman Zhang ( 2015-12-27 19:02:48 -0500 )edit

Thanks so much!

mathsyouth gravatar imagemathsyouth ( 2015-12-30 23:39:28 -0500 )edit
0

answered 2015-12-23 01:39:31 -0500

Bipin gravatar image

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-12-22 01:36:09 -0500

Seen: 354 times

Last updated: Dec 23 '15