On initialization, load the set of metrics sources and the set of
metrics variables from the database.
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,
)
|
|