[Buildbot-commits] [Buildbot] #1706: Metrics framework

Buildbot buildbot-devel at lists.sourceforge.net
Sat Dec 4 19:51:19 UTC 2010


#1706: Metrics framework
------------------------+---------------------------------------------------
Reporter:  catlee       |       Owner:  catlee
    Type:  enhancement  |      Status:  new   
Priority:  minor        |   Milestone:  0.8.+ 
 Version:  0.8.2        |    Keywords:        
------------------------+---------------------------------------------------

Old description:

> There are various moving parts to the buildbot master, and it would be
> nice to know how well they're performing on a running master.
>
> Some examples:
> * Cache hit rates
> * Time spent in scheduler loop
> * Time spent in builder loop
> * # builds or steps starting per unit time

New description:

 There are various moving parts to the buildbot master, and it would be
 nice to know how well they're performing on a running master.

 Some examples:
  * Cache hit rates
  * Time spent in scheduler loop
  * Time spent in builder loop
  * # builds or steps starting per unit time

--

Comment(by dustin):

 Users should be able to add their own metrics, too.

 There should be a simple interface for querying these metrics, e.g.,
 {{{self.master.metrics.getMetric(metricname)}}}

 Metrics will need to be able to sustain themselves over master restarts
 and reconfigs.  I've been thinking of making {{{scheduler_state}}} into a
 more generic saved_state (owner, key, value) store, which would allow this
 sort of state storage without new db tables.

 Are metrics per-master, or clusterwide?

-- 
Ticket URL: <http://buildbot.net/trac/ticket/1706#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list