|
|
|
@ -103,7 +103,7 @@ class apps(analytics) :
|
|
|
|
|
q = []
|
|
|
|
|
for row in slogs :
|
|
|
|
|
|
|
|
|
|
r.append( {"x":[row['running'],row['idle'],row['crash']],"labels":['Crash','Idle','Running'],"title":row['node'],"date":row['date']})
|
|
|
|
|
r.append( {"x":[row['crash'],row['idle'],row['running']],"labels":['Crash','Idle','Running'],"title":row['node'],"date":row['date']})
|
|
|
|
|
# q.append({"x":[[row['cpu'],row['mem']]],"labels":["CPU","RAM"],"title":"Resources","date":row['date'],"title":row['node'],"series":[ 'CPU','RAM' ]})
|
|
|
|
|
|
|
|
|
|
q.append({"x":[[row['cpu'],0],[0,row['mem']]],"labels":["",""],"title":"Resources","date":row['date'],"title":row['node'],"series":[ 'CPU','RAM' ],"ylabel":"% Resource Used"})
|
|
|
|
|