DBUtils

It is a helper module used to create a certain plot…

class DIRAC.MonitoringSystem.private.DBUtils.DBUtils(db, setup)

Bases: object

class DBUtils

It implements few methods used to create the plots.

param: list __units it is elasticsearch specific unites param: list __unitvalues the units in second param: list __esunits used to determine the buckets size

__init__(db, setup)

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

getKeyValues(typeName, condDict)

Get all valid key values in a type