[Buildbot-devel] Metrics

Charles Lepple clepple at gmail.com
Wed Jun 18 01:53:17 UTC 2008


On Tue, Jun 17, 2008 at 6:45 PM, Daniel Eggert <deggert at apple.com> wrote:
> Can I use buildbot to track metrics (e.g. size of my binary, test case
> execution time)?
>
> How would I go about doing that?

I haven't checked to see how different 0.7.7 is in this department,
but buildbot tracks bytes of output and step execution time without
any modification.

My problem with 0.7.6 was that the storage for these metrics wasn't
persistent, so every time I reconfigured the master, it would lose its
execution time estimate.

However, since the master.cfg is a Python script, and since you can
import your own modules that extend Buildbot steps, it isn't too hard
to capture metrics as they are generated, and send them to an external
database (which could be as simple as appending to a CSV file).

-- 
- Charles Lepple




More information about the devel mailing list