Package buildbot :: Package process :: Module metrics
[frames] | no frames]

Module metrics

source code


Buildbot metrics module

Keeps track of counts and timings of various internal buildbot
activities.

Basic architecture:

    MetricEvent.log(...)
          ||
          \/
    MetricLogObserver
          ||
          \/
    MetricHandler
          ||
          \/
    MetricWatcher

Classes
  MetricEvent
  MetricCountEvent
  MetricTimeEvent
  MetricAlarmEvent
  Timer
  FiniteList
  AveragingFiniteList
  MetricHandler
  MetricCountHandler
  MetricTimeHandler
  MetricAlarmHandler
  PollerWatcher
  AttachedSlavesWatcher
  MetricLogObserver
Functions
 
countMethod(counter) source code
 
timeMethod(name, _reactor=None) source code
 
periodicCheck(_reactor=reactor) source code
Variables
  ALARM_TEXT = ['OK', 'WARN', 'CRIT']
  ALARM_CRIT = 2
  ALARM_OK = 0
  ALARM_WARN = 1
  __package__ = 'buildbot.process'