Hello Vincenzo,<div><br></div><div>Thanks for sharing your patch, but why not directly put it up for review on gerrit. You're more likely to be able to track comments this way....</div><div><br></div><div>Thanks,</div>
<div>Nick</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 15, 2012 at 2:50 PM, Vincenzo Di Somma <span dir="ltr"><<a href="mailto:vincenzo.di.somma@canonical.com" target="_blank">vincenzo.di.somma@canonical.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello, we started to work on this, but before we go too far we'd like to<br>
check if that's the right approach, I'm attaching a small patch.<br>
Thanks,<br>
vds<br>
<br>
On 11/07/2012 02:29 PM, Domas Monkus wrote:<br>
> Hello,<br>
> I have found the following wish-list item in the ceilometer project:<br>
> <a href="https://bugs.launchpad.net/ceilometer/+bug/1010037" target="_blank">https://bugs.launchpad.net/ceilometer/+bug/1010037</a><br>
><br>
> I have read the associated email thread [1] and launchpad blueprint [2],<br>
> however, the task still seems in need of further discussions. To be more<br>
> exact, there are a few things that are still unclear:<br>
><br>
> 1. How should pollster-specific polling intervals be specified? The<br>
> blueprint mentions that publishers (I assume it means collectors) should<br>
> specify the intervals, however I don't think that a communication<br>
> channel between the collector and the central agent running the<br>
> pollsters is in place.<br>
><br>
> 2. Should pollsters be able to specify a polling interval (perhaps an<br>
> inherited default) to the central agent?<br>
><br>
> 3. If other ways of setting the polling intervals are probably possible<br>
> (e.g. the config file), should there be a hierarchy specified of which<br>
> setting override which ones?<br>
><br>
> 4. Should the current periodic_interval configuration value be used as a<br>
> safe fall back for pollsters without explicitly defined values?<br>
><br>
> 5. What is the granularity of polling intervals? Seconds?<br>
><br>
><br>
> And finally an implementation idea:<br>
> I do not think that having separate periodic tasks for each pollster is<br>
> the best solution for this problem. Assuming a second granularity for<br>
> polling intervals, the central agent manager can maintain a map of<br>
> pollsters and their intervals. As long as the manager is called with an<br>
> interval that is a GCD of its pollster intervals, it can basically<br>
> calculate how often each pollster should be queried.<br>
><br>
> Domas Monkus<br>
><br>
> [1] <a href="https://lists.launchpad.net/openstack/msg12916.html" target="_blank">https://lists.launchpad.net/openstack/msg12916.html</a><br>
> [2]<br>
> <a href="https://blueprints.launchpad.net/ceilometer/+spec/publisher-counters-frequency" target="_blank">https://blueprints.launchpad.net/ceilometer/+spec/publisher-counters-frequency</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>