<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">Le mar. 15 mars 2016 à 14:32, 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">On Tue, Mar 15, 2016 at 6:24 AM, Pierre Tardy <<a href="mailto:tardyp@gmail.com" target="_blank">tardyp@gmail.com</a>> wrote:<br>
> We have started last year interesting project in gsoc to  connect buildbot<br>
> to a stats processing database like influxdb.<br>
> <a href="http://docs.buildbot.net/latest/developer/stats-service.html" rel="noreferrer" target="_blank">http://docs.buildbot.net/latest/developer/stats-service.html</a><br>
> <a href="http://docs.buildbot.net/latest/manual/cfg-global.html#cfg-stats-service" rel="noreferrer" target="_blank">http://docs.buildbot.net/latest/manual/cfg-global.html#cfg-stats-service</a><br>
><br>
> Yes.. its built for nine.<br>
<br>
Yeah, I saw that, I bet it'll be great.  But I did not see any<br>
walkthrough showing<br>
how to go from zero to dashboard.  Seems like at least a simple walkthrough<br>
would be a great addition to the doc.<br></blockquote><div><br></div><div>Yes, actually that part would be great and we should have requested that at the gsoc level.</div><div>That kind of tutorial would be much more about influxdb rather than buildbot though cause really, this is all about pushing the data to influxdb, and then you have all the bower of influxdb's ecosystem.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
> For eight indeed you are pretty much bound to polling the json api.<br>
> ..., if you take care of not shooting yourself in the foot, and always<br>
> query builds/per builds, then you have access to all the data.<br>
<br>
Thanks.  One bit of data I don't know how to access is the build request's<br>
submitted_at time.  How would one get at that via json?<br></blockquote><div><br></div><div>Looks like there is none alas. I had to hack one or two endpoints in my own old eight instance.</div><div><br></div><div>The other solution is to look directly at the db.</div><div>Would be easier if you had your data in mysql, but you my still want to dig your data out of the sqlite (on the backup file, right?)</div><div><br></div><div>Cheers,</div><div>Pierre</div></div></div>