Table of Contents

Class: MetricsManagerService Twisted-0.17.4/twisted/metrics/metricserv.py

On initialization, load the set of metrics sources and the set of metrics variables from the database.

Base Classes   
pb.Service
Methods   
__init__
createPerspective
delayedInit
gotSources
gotVariables
insertMetricsItem
loadSources
loadVariables
setActive
  __init__ 
__init__ (
        self,
        name,
        app,
        dbpool,
        )

  createPerspective 
createPerspective ( self,  name )

Create a perspective from self.perspectiveClass and add it to this service.

  delayedInit 
delayedInit ( self )

  gotSources 
gotSources ( self,  data )

  gotVariables 
gotVariables ( self,  data )

  insertMetricsItem 
insertMetricsItem (
        self,
        sourceName,
        name,
        value,
        )

  loadSources 
loadSources ( self )

Load all the metrics sources from the db.

  loadVariables 
loadVariables ( self )

Load all the metrics variables from the db.

  setActive 
setActive (
        self,
        perspectiveName,
        value,
        )


Table of Contents

This document was automatically generated on Sat Apr 20 01:32:11 2002 by HappyDoc version 2.0