<div dir="ltr">Hi Dan,<div>We have started last year interesting project in gsoc to <span style="line-height:1.5"> connect buildbot to a stats processing database like influxdb.</span></div><div><a href="http://docs.buildbot.net/latest/developer/stats-service.html">http://docs.buildbot.net/latest/developer/stats-service.html</a></div><div><a href="http://docs.buildbot.net/latest/manual/cfg-global.html#cfg-stats-service">http://docs.buildbot.net/latest/manual/cfg-global.html#cfg-stats-service</a></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">Yes.. its built for nine. </span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">For eight indeed you are pretty much bound to polling the json api.</span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">As I know you have some performance issue on your master, I have to tell you that this json api can be quite heavy, as it does a lot of unpickling data within the reactor.</span></div><div><span style="line-height:1.5">This means that if you are going for a big query like dumping all the builds since the </span>beginning<span style="line-height:1.5"> of time in one http query, this will hang your bot until its finished parsing all the pickles for all your builds.</span></div><div><span style="line-height:1.5">However, if you take care of not shooting yourself in the foot, and always query builds/per builds, then you have access to all the data.</span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">Regards,</span></div><div><span style="line-height:1.5">Pierre</span></div><div><span style="line-height:1.5"><br></span></div></div><br><div class="gmail_quote"><div dir="ltr">Le lun. 14 mars 2016 à 18:12, Dan Kegel <<a href="mailto:dank@kegel.com">dank@kegel.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Oh, also, I guess there's <a href="http://trac.buildbot.net/wiki/BuildbotJson" rel="noreferrer" target="_blank">http://trac.buildbot.net/wiki/BuildbotJson</a><br>
which looks easy to try, I may start with that.<br>
<br>
On Mon, Mar 14, 2016 at 9:55 AM, Dan Kegel <<a href="mailto:dank@kegel.com" target="_blank">dank@kegel.com</a>> wrote:<br>
> Hi!  I see that Buildbot has metrics and statistics things:<br>
> <a href="http://docs.buildbot.net/latest/manual/cfg-global.html#metrics-options" rel="noreferrer" target="_blank">http://docs.buildbot.net/latest/manual/cfg-global.html#metrics-options</a><br>
> <a href="http://docs.buildbot.net/latest/manual/cfg-global.html#statistics-service" rel="noreferrer" target="_blank">http://docs.buildbot.net/latest/manual/cfg-global.html#statistics-service</a><br>
> but there seems to be no user-story-oriented guide about how to use them<br>
> to e.g. measure how long a particular builder (or all builders) takes<br>
> and display a histogram showing its median and 90th percentile durations.<br>
><br>
> The closest I found was<br>
> <a href="https://github.com/buildbot/buildbot/pull/1725" rel="noreferrer" target="_blank">https://github.com/buildbot/buildbot/pull/1725</a><br>
> <a href="https://gist.github.com/prasoon2211/cbe93436acc436be61c9" rel="noreferrer" target="_blank">https://gist.github.com/prasoon2211/cbe93436acc436be61c9</a><br>
> <a href="http://trac.buildbot.net/ticket/2461" rel="noreferrer" target="_blank">http://trac.buildbot.net/ticket/2461</a><br>
> <a href="http://trac.buildbot.net/ticket/3350" rel="noreferrer" target="_blank">http://trac.buildbot.net/ticket/3350</a><br>
><br>
> What is the state of the art here on branch eight?  (I'm at the tip of<br>
> eight now.  Could move to nine if it makes this easier.)<br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@buildbot.net" target="_blank">users@buildbot.net</a><br>
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a><br>
</blockquote></div>