BasePlotter

It used to create several plots

class DIRAC.MonitoringSystem.private.Plotters.BasePlotter.BasePlotter(db, setup, extraArgs=None)

Bases: DIRAC.MonitoringSystem.private.DBUtils.DBUtils

__init__(db, setup, extraArgs=None)

c’tor

Parameters:
  • self – self reference
  • db – the database module
  • setup (str) – DIRAC setup
generate(reportRequest)

It retrives the data from the database and create the plot

Parameters:reportRequest (dict) – contains the plot attributes
getKeyValues(typeName, condDict)

Get all valid key values in a type

plotsList()

It returns the list of available plots.