<br><br><div class="gmail_quote">On Fri, Nov 23, 2012 at 1:26 AM, Mark McLoughlin <span dir="ltr"><<a href="mailto:markmc@redhat.com" target="_blank">markmc@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Thu, 2012-11-22 at 16:32 -0500, Eoghan Glynn wrote:<br>
<br>
> > I really don't see much issue with ceilometer just doing those few<br>
> > things directly. The only private implementation assumption you'd be<br>
> > making about the Nova libvirt driver is that the libvirt VM name is<br>
> > the same as the instance name.<br>
><br>
> Well I was thinking we'd also need ComputeDriver.list_instances()<br>
> at least (previously we pulled the instances for the compute node<br>
> directly from the nova DB, now we query the nova-api, but neither<br>
> solution is really optimal).<br>
><br>
> But just to confirm I understand the suggestion, by *direct* usage<br>
> do you mean simply calling the currently installed nova virt code<br>
> but at a level that is unlikely to change? (say by pushing some<br>
> internals of the driver implementation into the driver API)<br>
<br>
</div>Nope, don't use any code - just have your own code for talking directly<br>
to libvirt and other hypervisors.<br>
<br>
(And for clarity - this is if ceilometer must do the polling directly. I<br>
still think notifications are the way to go for now)<br>
<div class="im"><br>
> > > There's been a fair amount of fuzziness around the distinction<br>
> > > between instrumentation and monitoring, but this falls into the<br>
> > > latter camp for me. Its not so much about the internal dynamics<br>
> > > of nova, as the user-visible behavior (e.g. is my instance running<br>
> > > hot or am I pushing loads of data through the network, as opposed<br>
> > > how long did that API call to update the instance take to service<br>
> > > end-to-end or how many connections are in that pool).<br>
> ><br>
> > Metering vs monitoring/instrumentation, not monitoring vs<br>
> > instrumentation :)<br>
><br>
> I kinda see the split more as metering/monitoring vs instrumentation.<br>
<br>
</div>I don't see why. Timeliness is a concern for user-oriented monitoring<br>
but not for metering.<br>
<br>
Timeliness is the issue in this discussion.<br>
<br>
So, they're clearly not the same thing for the purposes of this<br>
discussion.<br>
<div class="im"><br>
> Well, actually more like metering/user-oriented-monitoring vs<br>
> cloud-operator-oriented-monitoring/instrumentation.<br>
><br>
> Currently ceilo is aiming to at least address both metering and<br>
> user-oriented-monitoring, and possibly more in time.<br>
><br>
> > If we were just designing a solution for metering, would we go for<br>
> > the notifications option?<br>
><br>
> Probably, but the scope of ceilo has widened a bit from pure<br>
> metering.<br>
<br>
</div>Right. From a far remove, that looks like a mistake at this early stage.<br>
<br>
As Sandy rightly says, if we just focused on metering, then the<br>
conclusion is simple - improve the notifications infrastructure. If<br>
Ceilometer focused on its original mission, forward progress would be<br>
easier.<br></blockquote><div><br></div><div>We've had conflicting messages on that point. When we applied for incubation I understood the TC mandate for the project to be "measure everything," and that has led to consideration of features like monitoring and collecting data more frequently and in different ways than would be necessary for just billing-related purposes. However, when changes related to those features are proposed we've had some push-back because of scope creep. Are you suggesting we should drop the monitoring work?</div>
<div><br></div><div>Doug</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
Mark.<br>
<div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br>