[users at bb.net] Gathering and displaying build time statistics on buildbot?

Pierre Tardy tardyp at gmail.com
Tue Mar 15 13:48:03 UTC 2016


Le mar. 15 mars 2016 à 14:32, Dan Kegel <dank at kegel.com> a écrit :

> On Tue, Mar 15, 2016 at 6:24 AM, Pierre Tardy <tardyp at gmail.com> wrote:
> > We have started last year interesting project in gsoc to  connect
> buildbot
> > to a stats processing database like influxdb.
> > http://docs.buildbot.net/latest/developer/stats-service.html
> > http://docs.buildbot.net/latest/manual/cfg-global.html#cfg-stats-service
> >
> > Yes.. its built for nine.
>
> Yeah, I saw that, I bet it'll be great.  But I did not see any
> walkthrough showing
> how to go from zero to dashboard.  Seems like at least a simple walkthrough
> would be a great addition to the doc.
>

Yes, actually that part would be great and we should have requested that at
the gsoc level.
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.


> > For eight indeed you are pretty much bound to polling the json api.
> > ..., 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.
>
> Thanks.  One bit of data I don't know how to access is the build request's
> submitted_at time.  How would one get at that via json?
>

Looks like there is none alas. I had to hack one or two endpoints in my own
old eight instance.

The other solution is to look directly at the db.
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?)

Cheers,
Pierre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20160315/9907fdcf/attachment.html>


More information about the users mailing list