1 from Ganga.Lib.MonitoringServices.ARDADashboard.LCG.ARDADashboardLCG import ARDADashboardLCG
2 from types import DictionaryType, IntType
3
5
6 application = 'unknown'
7 applicationVersion = 'unknown'
8 dataset = 'unknown'
9 activity = 'unknown'
10
30
34
36
37 if self._complete:
38 try:
39 self.dashboard.sendValues(message = {
40 'Application':self.application,
41 'ApplicationVersion':self.applicationVersion,
42 'DatasetName':self.dataset,
43 'GridJobID':self.gridJobId,
44 'GridUser':self.gridCertificate,
45 'JSTool':'ganga',
46 'Scheduler':self.gridBackend,
47 'TaskType':self.activity,
48 'VO':self.VO
49 },
50 jobId=self.gangaJobId + '_' + self.gridJobId,
51 taskId=self.gangaTaskId
52 )
53 except Exception,msg:
54 self._logger.debug('could not send monalisa message: %s' % msg)
55