[openstack-dev] [Metering] Different polling intervals for each pollster
Julien Danjou
julien at danjou.info
Wed Nov 7 17:00:59 UTC 2012
On Wed, Nov 07 2012, Domas Monkus wrote:
> 1. How should pollster-specific polling intervals be specified? The
> blueprint mentions that publishers (I assume it means collectors) should
> specify the intervals, however I don't think that a communication channel
> between the collector and the central agent running the pollsters is in
> place.
I did mean publisher, as in we have already a publisher publishing to
ceilometer-collector. Later, we'll have a publisher publishing to, let's
say, a CloudWatch implementation.
So each publisher can specify the frequency of each events it cares
about.
> 2. Should pollsters be able to specify a polling interval (perhaps an
> inherited default) to the central agent?
I'd say no, let's say each publisher set a default frequency.
> 3. If other ways of setting the polling intervals are probably possible
> (e.g. the config file), should there be a hierarchy specified of which
> setting override which ones?
Yes, a simple rule/policy system would make sens like:
collector {
disk.io: 300,
instance: 60,
*: 600,
}
cloudwatch {
cputime: 300,
*: 0,
}
would mean the ceilometor-collector publisher would require disk.io
counters every 5 minutes, instance every minute, and the reset every 10
minutes.
Whereas cloudwatch publisher only cares about the cputime every 5
minutes, and don't want the rest.
> 4. Should the current periodic_interval configuration value be used as a
> safe fall back for pollsters without explicitly defined values?
If not required by a publisher, not loaded, no interval. :)
> 5. What is the granularity of polling intervals? Seconds?
Yes.
--
Julien Danjou
# Free Software hacker & freelance
# http://julien.danjou.info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20121107/42d2a19d/attachment.pgp>
More information about the OpenStack-dev
mailing list