Package Ganga :: Package Lib :: Package MonitoringServices :: Package Dashboard :: Module DashboardMS :: Class DashboardMS
[hide private]
[frames] | no frames]

Class DashboardMS

source code

GPIDev.Adapters.IMonitoringService.IMonitoringService --+
                                                        |
                                                       DashboardMS

Dashboard Monitoring Service base class.

Subclasses should override getSandboxModules(), getJobInfo() and the event methods: submit(), start(), progress(), stop(), etc.. Typically, the event methods will use job_info and _send() to send job meta-data via MSG using the WLCG format.

Instance Methods [hide private]
 
__init__(self, job_info, config_info)
Construct the Dashboard Monitoring Service.
source code
 
getSandboxModules(self)
Return list of DashboardMS module dependencies.
source code
 
_send(self, destination, message)
Send the message to the configured destination.
source code
 
_log(self, level='info', message='')
Log message to logger on client or stderr on worker node.
source code

Inherited from GPIDev.Adapters.IMonitoringService.IMonitoringService: complete, event, fail, getJobInfo, getWrapperScriptConstructorText, kill, prepare, progress, rollback, start, stop, submit, submitting

Static Methods [hide private]
 
getConfig()
Return DashboardMS Config object.
source code
Method Details [hide private]

__init__(self, job_info, config_info)
(Constructor)

source code 

Construct the Dashboard Monitoring Service.

Overrides: GPIDev.Adapters.IMonitoringService.IMonitoringService.__init__

getConfig()
Static Method

source code 

Return DashboardMS Config object.

Overrides: GPIDev.Adapters.IMonitoringService.IMonitoringService.getConfig

getSandboxModules(self)

source code 

Return list of DashboardMS module dependencies.

Overrides: GPIDev.Adapters.IMonitoringService.IMonitoringService.getSandboxModules