ComponentMonitoringPlotter

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

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

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

class ComponentMonitoringPlotter

It is used to create 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

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.