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

Parameters:
  • self – self reference
  • db – the database module
  • setup (str) – DIRAC setup
getKeyValues(typeName, condDict)

Get all valid key values in a type