RRDManager

class DIRAC.FrameworkSystem.private.monitoring.RRDManager.RRDManager(rrdLocation, graphLocation)

Bases: object

__init__(rrdLocation, graphLocation)

Initialize RRDManager

bucketize(secs, bucketLength)

Bucketize a time (in secs)

create(type, rrdFile, bucketLength)

Create an rrd file

deleteRRD(rrdFile)
existsRRDFile(rrdFile)
getCurrentBucketTime(bucketLength)

Get current time “bucketized”

getGraphLocation()

Set the location for graph files

groupPlot(fromSecs, toSecs, activitiesList, stackActivities, size, graphFilename='')

Generate a group plot

plot(fromSecs, toSecs, activity, stackActivities, size, graphFilename='')

Generate a non grouped plot

update(type, rrdFile, bucketLength, valuesList, lastUpdate=0)

Add marks to an rrd