WMSHistoryPlotter

This class is used to define the plot using the plot attributes.

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

Bases: DIRAC.MonitoringSystem.private.Plotters.BasePlotter.BasePlotter

class WMSHistoryPlotter

It is used to crate the plots.

param: str _typeName monitoring type param: list _typeKeyFields list of keys what we monitor (list of attributes)

__init__(db, setup, extraArgs=None)

c’tor :param self: self reference :param object the database module :param str setup DIRAC setup

generate(reportRequest)

It retrives the data from the database and create the plot :param dict reportRequest contains the plot attributes

getKeyValues(typeName, condDict)

Get all valid key values in a type

plotsList()

It returns the list of available plots.