Esempio n. 1
0
def run_compute_alerts(db, conf):

    for namespace in db.namespaces:
        tables = Table.get_monitored_tables_per_namespace(db.name, namespace)

        for table in tables:
            run_compute_alerts_for_table(db, table, conf)
Esempio n. 2
0
def run_checks(db, conf):

    for namespace in db.namespaces:
        tables = Table.get_monitored_tables_per_namespace(db.dbsource, namespace)

        for table in tables:
            run_checks_for_table(db, table, conf)